btrfs-progs: mkfs: remove unused argument from make_root_dir
authorDavid Sterba <dsterba@suse.com>
Thu, 9 Feb 2017 16:42:02 +0000 (17:42 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 8 Mar 2017 12:00:48 +0000 (13:00 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c

index fb780eb..363abd5 100644 (file)
@@ -161,8 +161,8 @@ err:
        return ret;
 }
 
-static int make_root_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root,
-               struct mkfs_allocation *allocation)
+static int make_root_dir(struct btrfs_trans_handle *trans,
+               struct btrfs_root *root)
 {
        struct btrfs_key location;
        int ret;
@@ -1769,7 +1769,7 @@ int main(int argc, char **argv)
                exit(1);
        }
 
-       ret = make_root_dir(trans, root, &allocation);
+       ret = make_root_dir(trans, root);
        if (ret) {
                error("failed to setup the root directory: %d", ret);
                exit(1);