Btrfs-progs: mkfs: remove ununsed parameters
PATCH 1/1 Btrfs-progs: mkfs: remove ununsed parameters
Remove ununsed parameters since 71d6bd3c in create_raid_groups.
Signed-off-by Rakesh Pandit <[email protected]>
--- mkfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mkfs.c +2 -2
@@ -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;
@@ -1586,7 +1586,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); }
Signature · 1 line
1.8.5.3