]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/libxfs_api_defs.h
mkfs: use libxfs to write out new AGs
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Sep 2019 17:46:34 +0000 (13:46 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 26 Sep 2019 17:46:34 +0000 (13:46 -0400)
commit7b7548052d128c33ec64a3dab67e98ed4676a2d8
tree45e32d97d765e20474f44f3b65efec54cb99a3a1
parent7db2e3c108a06dd84a0cf85f7cb41f10eabe1465
mkfs: use libxfs to write out new AGs

Use the libxfs AG initialization functions to write out the new
filesystem instead of open-coding everything.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/libxfs.h
libxfs/libxfs_api_defs.h
libxfs/util.c
mkfs/xfs_mkfs.c