summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-07-02 19:23:27 +0200
committerDavid Sterba <dsterba@suse.com>2015-07-02 19:23:27 +0200
commit9ec25f25fce93ccfdfaad5495e72194e1376b70f (patch)
tree5940c4d82a0bc6b5bf2b668733747b24d38ab18f
parentac2ba40fa0139e5549a7d18e08b0ac4497220e83 (diff)
btrfs-progs: drop unused argument from create_raid_groups
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--mkfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mkfs.c b/mkfs.c
index 166c6a8a..dafd500f 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -247,8 +247,7 @@ static int create_one_raid_group(struct btrfs_trans_handle *trans,
static int create_raid_groups(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 data_profile,
- int data_profile_opt, u64 metadata_profile,
- int mixed,
+ u64 metadata_profile, int mixed,
struct mkfs_allocation *allocation)
{
u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy);
@@ -1630,8 +1629,7 @@ int main(int ac, char **av)
raid_groups:
if (!source_dir_set) {
ret = create_raid_groups(trans, root, data_profile,
- data_profile_opt, metadata_profile,
- mixed, &allocation);
+ metadata_profile, mixed, &allocation);
BUG_ON(ret);
}