]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: use geometry generation / helper functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 23 May 2018 21:30:48 +0000 (16:30 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 23 May 2018 21:30:48 +0000 (16:30 -0500)
commitebc2e79841949c838d994235727a72e4de854be6
treec0caf84e0574acaeb5479c3e75044753f1a96a63
parent96aaf9bc6ce01e7343c716ab1fcdd6c69c577b4c
mkfs: use geometry generation / helper functions

Since libxfs now has a function to fill out the geometry structure
and libfrog has a function to pretty-print the geometry, have mkfs
use the two helpers instead of open-coding it.

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>
libxfs/libxfs_api_defs.h
mkfs/xfs_mkfs.c