]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: hoist rmap record flag checks from scrub
authorDarrick J. Wong <djwong@kernel.org>
Wed, 31 May 2023 09:02:21 +0000 (11:02 +0200)
committerCarlos Maiolino <cem@kernel.org>
Fri, 9 Jun 2023 08:27:50 +0000 (10:27 +0200)
commitb3c8146ec425df6cc4e072d7cab35e89d9f34467
tree81c6c2d31a9ed2e4f7ccff12b739e8aa7dae48c9
parent830c99b1869205e1ca8979fc31d24cff8d56db22
xfs: hoist rmap record flag checks from scrub

Source kernel commit: e774b2ea0bb130d00e3cb1c29cd91028d0c0c83d

Move the rmap record flag checks from xchk_rmapbt_rec into
xfs_rmap_check_irec so that they are applied everywhere.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_rmap.c