Btrfs-progs: mkfs: remove ununsed parameters

Remove ununsed parameters since 71d6bd3c in create_raid_groups.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
Rakesh Pandit 2014-04-26 02:05:31 +03:00 committed by David Sterba
parent 21a1ff8887
commit 091ba6ad98
1 changed files with 2 additions and 2 deletions

4
mkfs.c
View File

@ -210,7 +210,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 metadata_profile_opt, int mixed, int ssd)
int mixed)
{
u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy);
int ret;
@ -1585,7 +1585,7 @@ raid_groups:
if (!source_dir_set) {
ret = create_raid_groups(trans, root, data_profile,
data_profile_opt, metadata_profile,
metadata_profile_opt, mixed, ssd);
mixed);
BUG_ON(ret);
}