aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2018-04-23 10:29:13 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 11:31:47 -0700
commiteff15c2aec6c93681dffb183779db2b08df09bc3 (patch)
treeef807343a493beee65ab333cc09c139171731c38 /fs/f2fs/recovery.c
parentf2fs: remove duplicated dquot_initialize and fix error handling (diff)
downloadlinux-dev-eff15c2aec6c93681dffb183779db2b08df09bc3.tar.xz
linux-dev-eff15c2aec6c93681dffb183779db2b08df09bc3.zip
f2fs: do not check F2FS_INLINE_DOTS in recover
Only dir may have F2FS_INLINE_DOTS flag, so there is no need to check the flag in recover flow. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index 1b23d3febe4c..709dd4daaf29 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -204,8 +204,6 @@ static void recover_inline_flags(struct inode *inode, struct f2fs_inode *ri)
set_inode_flag(inode, FI_DATA_EXIST);
else
clear_inode_flag(inode, FI_DATA_EXIST);
- if (!(ri->i_inline & F2FS_INLINE_DOTS))
- clear_inode_flag(inode, FI_INLINE_DOTS);
}
static void recover_inode(struct inode *inode, struct page *page)