f2fs: remove unmatched zero_user_segment when convert inline dentry
authorYunlong Song <yunlong.song@huawei.com>
Tue, 3 Apr 2018 11:42:41 +0000 (19:42 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:44 +0000 (11:31 -0700)
commit8045249829c9db0e664b3fa2f9c9b004089a6156
tree3186347610211e0e2f026f47f8419aa8d6fbad36
parent59c844088b19c545efcc4ed97f95c1e1100e12ca
f2fs: remove unmatched zero_user_segment when convert inline dentry

Since the layout of regular dentry block is different from inline dentry
block, zero_user_segment starting from MAX_INLINE_DATA(dir) is not
correct for regular dentry block, besides, bitmap is already copied and
used, so there is no necessary to zero page at all, so just remove the
zero_user_segment is OK.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inline.c