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

Source kernel commit: de1a9ce225e93b22d189f8ffbce20074bc803121

Move the inobt record alignment checks from xchk_iallocbt_rec into
xfs_inobt_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_ialloc.c