]> asedeno.scripts.mit.edu Git - linux.git/commit
f2fs: fix a wrong condition in f2fs_skip_inode_update
authorJunling Zheng <zhengjunling@huawei.com>
Thu, 29 Mar 2018 11:27:12 +0000 (19:27 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 2 Apr 2018 20:21:51 +0000 (13:21 -0700)
commit235831d7dd783ebd20e08ef4310dbdeeea46d87a
tree55e5fff33db29129c03c837e72ef76e0d6ae2784
parent53fedcc09c66c68e0fa7ccef0fe9c15f96dca452
f2fs: fix a wrong condition in f2fs_skip_inode_update

Fix commit 97dd26ad8347 (f2fs: fix wrong AUTO_RECOVER condition).
We should use ~PAGE_MASK to determine whether i_size is aligned to
the f2fs's block size or not.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h