Skip to content

Commit

Permalink
f2fs: do not check F2FS_INLINE_DOTS in recover
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
  • Loading branch information
Sheng Yong authored and Jaegeuk Kim committed Jun 28, 2018
1 parent 1f14739 commit ac2074b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/f2fs/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac2074b

Please sign in to comment.