]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - scrub/Makefile
xfs_scrub: add inode 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)
commit372d4ba99155b2432dee293431f15b0df2f9e4b0
treed6e0e0aae762f8f1cefe95e145b2343585b95014
parent50a573a72917dd093b68c618bb0253a9a49fe50b
xfs_scrub: add inode iteration functions

These helpers enable userspace to count or iterate all inodes in a
filesystem.  The counting function uses INUMBERS, while the inode
iterator uses INUMBERS and BULKSTAT to iterate over every inode that
should be in the filesystem.

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/inodes.c [new file with mode: 0644]
scrub/inodes.h [new file with mode: 0644]