]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - scrub/phase7.c
libfrog: create online fs geometry converters
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)
commita749451c2021bf0abaaebcc1c5b9a018ba136f4e
tree9be890171831efd7a243dda39fa09f0abf591a52
parent5b5c73366ba4988219dd74e7e40532c782e1bd8f
libfrog: create online fs geometry converters

Create helper functions to perform unit conversions against a runtime
filesystem, then remove the open-coded versions in scrub.

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>
include/fsgeom.h
libfrog/fsgeom.c
scrub/fscounters.c
scrub/inodes.c
scrub/phase3.c
scrub/phase5.c
scrub/phase6.c
scrub/phase7.c