]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: export _inobt_btrec_to_irec and _ialloc_cluster_alignment for scrub
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 31 Jul 2017 20:08:11 +0000 (15:08 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jul 2017 20:08:11 +0000 (15:08 -0500)
commitb5f6747cf5624a94bbcac11970fcfd4c73a46e8b
treed1d7da787c900fca1cfe86e7e443f80bbb34a978
parent4e388bc9af6055344e6f12721316bab60f79fa1b
xfs: export _inobt_btrec_to_irec and _ialloc_cluster_alignment for scrub

Source kernel commit: e936945ee49693f40217db82a7db55c94e34ce4c

Create a function to extract an in-core inobt record from a generic
btree_rec union so that scrub will be able to check inobt records
and check inode block alignment.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc.h