We don't have meta->tb_lock anymore and use meta table entry bit_spin_lock
instead. update comment.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
return (struct zram *)dev_to_disk(dev)->private_data;
}
-/* flag operations needs meta->tb_lock */
+/* flag operations require table entry bit_spin_lock() being held */
static int zram_test_flag(struct zram_meta *meta, u32 index,
enum zram_pageflags flag)
{