f2fs: remove wrong comment in f2fs_invalidate_page()
authorChao Yu <yuchao0@huawei.com>
Wed, 6 Mar 2019 08:18:33 +0000 (16:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Mar 2019 01:59:19 +0000 (18:59 -0700)
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@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c

index 3f3becd46362d5a0ce85d6e090b2906035dd687b..2510e935301e9d6b3d3097990a06243d977d0221 100644 (file)
@@ -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);