]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: hoist rmap record flag checks from scrub
authorDarrick J. Wong <djwong@kernel.org>
Wed, 31 May 2023 09:00:21 +0000 (11:00 +0200)
committerCarlos Maiolino <cem@kernel.org>
Fri, 9 Jun 2023 08:27:50 +0000 (10:27 +0200)
commit7e7856ceee84ea52363416ad7dfa933679c8250f
tree0662c9666863f89d6d4bc64a7ba16724db1ee1ae
parente70bf9ba99546b22a362e58d968e838feb886a6a
xfs: hoist rmap record flag checks from scrub

Source kernel commit: 7d7d6d2fd0444904f12e70d9c930556c4eb44337

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