From: Sergey Senozhatsky Date: Thu, 25 Jun 2015 22:00:16 +0000 (-0700) Subject: zram: trivial: correct flag operations comment X-Git-Tag: v4.2-rc1~102^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b31177f2a9d5b2cfb1da7a06a4a98273b40975a8;p=platform%2Fkernel%2Flinux-exynos.git zram: trivial: correct flag operations comment We don't have meta->tb_lock anymore and use meta table entry bit_spin_lock instead. update corresponding comment. Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 4429f546b532..4f76cf3e26a1 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -70,7 +70,7 @@ static inline struct zram *dev_to_zram(struct device *dev) 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) {