Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45209f0c authored by Sheng Yong's avatar Sheng Yong Committed by Jaegeuk Kim
Browse files

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: default avatarSheng Yong <shengyong1@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent b37f57bb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -198,8 +198,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)