]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfs: export _inobt_btrec_to_irec and _ialloc_cluster_alignment for scrub
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 16 Jun 2017 18:00:08 +0000 (11:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Jun 2017 21:11:34 +0000 (14:11 -0700)
commite936945ee49693f40217db82a7db55c94e34ce4c
treed6c75fe16688ae714e40368a74b4e9c859f3d737
parent118bb47e281cde728608633f1a358fb9f2ac0adc
xfs: export _inobt_btrec_to_irec and _ialloc_cluster_alignment for scrub

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>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.h