]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: add file space map iteration functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:45 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:45 +0000 (09:32 -0600)
commitc6eb0ff20c2a9e115d52a7a98b53984944c43829
treeab2798c15f4d83667b33efca2a827ee3557f36b5
parentbc94c5d69e14bbe6e2b4fd74e2ef8b2ef66ccedc
xfs_scrub: add file space map iteration functions

These helpers enable userspace to iterate all the space map information
for a file.  The iteration function uses GETBMAPX.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/Makefile
scrub/filemap.c [new file with mode: 0644]
scrub/filemap.h [new file with mode: 0644]