btrfs: rename __check_raid_min_devices
authorDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 14:28:48 +0000 (15:28 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
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>
fs/btrfs/volumes.c

index 2fdd2d3322aaecfc640c476cac478ed0e44723c0..9051b4472beae8e8b10c90b3492f1f798d279150 100644 (file)
@@ -1706,7 +1706,7 @@ out:
        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;