[PATCH] f2fs: remove wrong comment in f2fs_invalidate_page()

From: Chao Yu
Date: Wed Mar 06 2019 - 03:19:06 EST


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().

Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx>
---
fs/f2fs/data.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 14ee7dd0c6bc..c36d7aa682d1 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -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);

--
2.18.0.rc1