mkfs: add helpers to process defaults

Move the built-in defaults globally and add helpers to reset and
process the defaults. This will be expanded on later. The commented
out print of the defaults source is moved below CLI processing to
acknowledge that one will later want to be able to specify a
different configuration file to be used through the CLI.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
1 file changed