btrfs: rename __check_raid_min_devices

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

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-02-15 15:28:48 +01:00
parent 02feae3c55
commit f47ab2588e
1 changed files with 2 additions and 2 deletions

View File

@ -1706,7 +1706,7 @@ static int btrfs_rm_dev_item(struct btrfs_root *root,
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 num_devices;
@ -1761,7 +1761,7 @@ int btrfs_rm_device(struct btrfs_root *root, char *device_path, u64 devid)
mutex_lock(&uuid_mutex);
ret = __check_raid_min_devices(root->fs_info);
ret = btrfs_check_raid_min_devices(root->fs_info);
if (ret)
goto out;