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 <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
d12b63c927
Коммит
b31177f2a9
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче