summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-09 17:42:02 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:48 +0100
commitb72df6551b5d4843b29149c670ca2cd68400a833 (patch)
tree2ef4e1caaa98bc8a4c6320c66b78c391140745e6 /mkfs
parent134f8331b2092de63def23d964a4620257bd8b8f (diff)
btrfs-progs: mkfs: remove unused argument from make_root_dir
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkfs/main.c b/mkfs/main.c
index fb780eb5..363abd55 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -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);