From: Chao Yu Date: Wed, 6 Mar 2019 08:18:33 +0000 (+0800) Subject: f2fs: remove wrong comment in f2fs_invalidate_page() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=25720cc05e492467099a2d4d21a50f6ee8555cfd;p=openwrt%2Fstaging%2Fblogic.git 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(). Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 3f3becd46362..2510e935301e 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);