]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: move shared config structs and into their own headers
authorLuis R. Rodriguez <mcgrof@kernel.org>
Mon, 11 Jun 2018 15:34:01 +0000 (10:34 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 11 Jun 2018 15:34:01 +0000 (10:34 -0500)
commit461de056c8d3a43e89b168061cf95dc000799c78
tree1db1814a3c00cb875347338a742657d27993db32
parent14da4b662c0d0fcc75b85d4f9803013259253c6a
mkfs: move shared config structs and into their own headers

Both struct sb_feat_args and struct mkfs_default_params will be shared
between CLI processing and the configuration file processing added later,
so move these to their own header.

This will help ensure we split things neatly later and also will help
ensure the configuration file processing code from the CLI code are kept
separate and cannot touch each other's data structures. This also makes
it clear what is actually shared between both.

There are no introduced functional changes in this commit and no
documentation changes, this is just code shuffling.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/config.h [new file with mode: 0644]
mkfs/xfs_mkfs.c