diff options
author | Chao Yu <chao@kernel.org> | 2024-06-06 17:55:51 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-06-24 17:50:21 +0000 |
commit | 388a2a0640e16a8887f0d47dab207f344fbdb913 (patch) | |
tree | 3c2884e6f781b571b58bda4be6c6e0c18dd56ac8 /fs/f2fs | |
parent | 8cb1f4080dd91c6e6b01dbea013a3f42341cb6a1 (diff) |
f2fs: remove redundant sanity check in sanity_check_inode()
Commit f240d3aaf5a1 ("f2fs: do more sanity check on inode") missed
to remove redundant sanity check on flexible_inline_xattr flag, fix
it.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index dbfebbddf675..7a3e2458b2d9 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -313,10 +313,6 @@ static bool sanity_check_inode(struct inode *inode, struct page *node_page) if (!sanity_check_compress_inode(inode, ri)) return false; } - } else if (f2fs_sb_has_flexible_inline_xattr(sbi)) { - f2fs_warn(sbi, "%s: corrupted inode ino=%lx, run fsck to fix.", - __func__, inode->i_ino); - return false; } if (!f2fs_sb_has_extra_attr(sbi)) { |