Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f47ab258 authored by David Sterba's avatar David Sterba
Browse files

btrfs: rename __check_raid_min_devices



Underscores are for special functions, use the full prefix for better
stacktrace recognition.

Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 02feae3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1706,7 +1706,7 @@ static int btrfs_rm_dev_item(struct btrfs_root *root,
	return ret;
	return ret;
}
}


static int __check_raid_min_devices(struct btrfs_fs_info *fs_info)
static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info)
{
{
	u64 all_avail;
	u64 all_avail;
	u64 num_devices;
	u64 num_devices;
@@ -1761,7 +1761,7 @@ int btrfs_rm_device(struct btrfs_root *root, char *device_path, u64 devid)


	mutex_lock(&uuid_mutex);
	mutex_lock(&uuid_mutex);


	ret = __check_raid_min_devices(root->fs_info);
	ret = btrfs_check_raid_min_devices(root->fs_info);
	if (ret)
	if (ret)
		goto out;
		goto out;