xfs: clean up broken eearly-exit code in the inode btree scrubber
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:13 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:13 +0000 (19:00 -0700)
commitc01868b60e8c19888572f90fd3426c0652c0e2a9
treebd8c17a18934ae58e342bb178e3f17d465c23bc6
parentcc1207662d1a08e253520654e956f5e699826caa
xfs: clean up broken eearly-exit code in the inode btree scrubber

Corrupt inode chunks should cause us to exit early after setting the
CORRUPT flag on the scrub state.  While we're at it, collapse trivial
helpers.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/ialloc.c