]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - scrub/phase1.c
xfs_scrub: find XFS filesystem geometry
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)
commit50a573a72917dd093b68c618bb0253a9a49fe50b
treea8d0422a4ebb4cf9a9198d0dd848c7cba67fbb5c
parenta555a1f410f99a68660e81ccc861d1a05d190981
xfs_scrub: find XFS filesystem geometry

Discover the geometry of the XFS filesystem that we've been told to
scan, and set up some common functions that will be used by the
scrub phases.

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