mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
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>
This commit is contained in:
@@ -204,8 +204,6 @@ static void recover_inline_flags(struct inode *inode, struct f2fs_inode *ri)
|
|||||||
set_inode_flag(inode, FI_DATA_EXIST);
|
set_inode_flag(inode, FI_DATA_EXIST);
|
||||||
else
|
else
|
||||||
clear_inode_flag(inode, FI_DATA_EXIST);
|
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)
|
static void recover_inode(struct inode *inode, struct page *page)
|
||||||
|
|||||||
Reference in New Issue
Block a user