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:
parent
21a1ff8887
commit
091ba6ad98
4
mkfs.c
4
mkfs.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue