btrfs-progs: drop unused argument from create_raid_groups

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2015-07-02 19:23:27 +02:00
parent ac2ba40fa0
commit 9ec25f25fc

6
mkfs.c
View File

@ -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, static int create_raid_groups(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 data_profile, struct btrfs_root *root, u64 data_profile,
int data_profile_opt, u64 metadata_profile, u64 metadata_profile, int mixed,
int mixed,
struct mkfs_allocation *allocation) struct mkfs_allocation *allocation)
{ {
u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy); u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy);
@ -1630,8 +1629,7 @@ int main(int ac, char **av)
raid_groups: raid_groups:
if (!source_dir_set) { if (!source_dir_set) {
ret = create_raid_groups(trans, root, data_profile, ret = create_raid_groups(trans, root, data_profile,
data_profile_opt, metadata_profile, metadata_profile, mixed, &allocation);
mixed, &allocation);
BUG_ON(ret); BUG_ON(ret);
} }