]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libfrog: refactor open-coded bulkstat calls
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 9 Sep 2019 19:37:05 +0000 (15:37 -0400)
committerEric Sandeen <sandeen@redhat.com>
Mon, 9 Sep 2019 19:37:05 +0000 (15:37 -0400)
commitf31b5e1295fc03a865fcc841bc83796f34238b7c
tree47a4b861051c5eb3a9af09ad2c7b27dedcb28e6f
parenta749451c2021bf0abaaebcc1c5b9a018ba136f4e
libfrog: refactor open-coded bulkstat calls

Refactor the BULKSTAT_SINGLE and BULKSTAT ioctl callsites into helper
functions.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
fsr/xfs_fsr.c
include/builddefs.in
io/open.c
io/swapext.c
libfrog/Makefile
libfrog/bulkstat.c [new file with mode: 0644]
libfrog/bulkstat.h [new file with mode: 0644]
quota/quot.c
scrub/inodes.c