btrfs-progs: mkfs/convert: separate the convert part from make_btrfs
authorDavid Sterba <dsterba@suse.com>
Tue, 24 Jan 2017 18:36:15 +0000 (19:36 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 27 Jan 2017 11:20:43 +0000 (12:20 +0100)
commitc855e60f7ef8f980a465bcadc72caeba70fd10b7
treea953b93897bfda025b0c36cc30212c35c7b777ce
parent78e1787c55a28f496d210b2805d84539d86552a1
btrfs-progs: mkfs/convert: separate the convert part from make_btrfs

The regulare mkfs_btrfs does not anything special about convert and just
passes the arguments. Make that two functions.

Signed-off-by: David Sterba <dsterba@suse.com>
convert/main.c
mkfs/main.c
utils.c
utils.h