Skip to contentSkip to conversation

f2fs: remove wrong comment in f2fs_invalidate_page()

PATCH New Chao Yu 1 participant 1 message Mar 6, 2019 F2FS file system

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/1 f2fs: remove wrong comment in f2fs_invalidate_page()

Since 8c242db9b8c0 ("f2fs: fix stale ATOMIC_WRITTEN_PAGE private pointer"), we've started to not skip clear private flag for atomic_write page truncation, so removing old wrong comment in f2fs_invalidate_page().

---
 fs/f2fs/data.c | 1 -
 1 file changed, 1 deletion(-)
fs/f2fs/data.c +0 -1
index 14ee7dd0c6bc..c36d7aa682d1 100644
@@ -2711,7 +2711,6 @@ void f2fs_invalidate_page(struct page *page, unsigned int offset,
 
 	clear_cold_data(page);
 
-	/* This is atomic written page, keep Private */
 	if (IS_ATOMIC_WRITTEN_PAGE(page))
 		return f2fs_drop_inmem_page(inode, page);
 
Signature · 1 line
2.18.0.rc1