btrfs-progs: mkfs: remove unused argument from make_root_dir

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-02-09 17:42:02 +01:00
parent 134f8331b2
commit b72df6551b
1 changed files with 3 additions and 3 deletions

View 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);