]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - mkfs/xfs_mkfs.c
mkfs: Introduce mkfs configuration structure
authorDave Chinner <dchinner@redhat.com>
Wed, 6 Dec 2017 23:14:27 +0000 (17:14 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 6 Dec 2017 23:14:27 +0000 (17:14 -0600)
commit4ab08e3b3f29f1e44040e35f388c0ed9d572be69
tree6b1777ec19a8b8cd351f8e4f23b6878436d65796
parentf948f00a8ed70aaf3d64c15fd46b2562ca48918c
mkfs: Introduce mkfs configuration structure

Formatting the on disk XFS structures requires a certain set of
validated and calculated parameters. By the time we start writing
information to disk this has all been done. Abstract this information
out into a separate structures and initialise it with all the
calculated parameters so we can factor the mkfs formatting code
to use it.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c