summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-01-24 19:36:15 +0100
committerDavid Sterba <dsterba@suse.com>2017-01-27 12:20:43 +0100
commitc855e60f7ef8f980a465bcadc72caeba70fd10b7 (patch)
treea953b93897bfda025b0c36cc30212c35c7b777ce /mkfs
parent78e1787c55a28f496d210b2805d84539d86552a1 (diff)
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>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/main.c b/mkfs/main.c
index 8cdc74b7..72834c9c 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1740,7 +1740,7 @@ int main(int argc, char **argv)
mkfs_cfg.stripesize = stripesize;
mkfs_cfg.features = features;
- ret = make_btrfs(fd, &mkfs_cfg, NULL);
+ ret = make_btrfs(fd, &mkfs_cfg);
if (ret) {
error("error during mkfs: %s", strerror(-ret));
exit(1);