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>
Sun, 8 Apr 2018 11:14:44 +0000 (04:14 -0700)
commita0a9a51ecdd118ee4051341a79a258a6a28120a7
treea378772c86c60aaaef113c9c5ccaa04df52c38c4
parent5dc89047c9e87a43114d827438af7768611b22dc
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