mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
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:
parent
02feae3c55
commit
f47ab2588e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue