]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: create block pointer check functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
commit9bef6258a840053b074ab2a4ebd4a171a8f64a6e
tree100a8b44d74de8ee53b4f6008edd95797732b43e
parentbb318cddc61d872fa28d25516b42b1729b276fb7
xfs: create block pointer check functions

Source kernel commit: 21ec54168b368f1a98097dee00625ec8ec2d47f3

Create some helper functions to check that a block pointer points
within the filesystem (or AG) and doesn't point at static metadata.
We will use this for scrub.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_alloc.c
libxfs/xfs_alloc.h
libxfs/xfs_rtbitmap.c