Skip to content

Commit 388a2a0

Browse files
chaseyuJaegeuk Kim
authored andcommitted
f2fs: remove redundant sanity check in sanity_check_inode()
Commit f240d3a ("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 <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 8cb1f40 commit 388a2a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fs/f2fs/inode.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,6 @@ static bool sanity_check_inode(struct inode *inode, struct page *node_page)
313313
if (!sanity_check_compress_inode(inode, ri))
314314
return false;
315315
}
316-
} else if (f2fs_sb_has_flexible_inline_xattr(sbi)) {
317-
f2fs_warn(sbi, "%s: corrupted inode ino=%lx, run fsck to fix.",
318-
__func__, inode->i_ino);
319-
return false;
320316
}
321317

322318
if (!f2fs_sb_has_extra_attr(sbi)) {

0 commit comments

Comments
 (0)