OSDN Git Service

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>
Mon, 9 Jul 2018 00:28:19 +0000 (17:28 -0700)
commitec034d0f14ca093cf656843fa097350875c3895d
tree5bf9a2f3e30c543eed62aea3533d66c48b33aa31
parent71aaced0e1eea5f15b6aba888d9ded4eb29f8c9b
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