提交 f47ab258 编写于 作者: D David Sterba

btrfs: rename __check_raid_min_devices

Underscores are for special functions, use the full prefix for better
stacktrace recognition.
Reviewed-by: NAnand Jain <anand.jain@oracle.com>
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 02feae3c
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册