]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Wed, 17 Feb 2016 10:12:05 +0000 (11:12 +0100)
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 20af20b0eaee8ef418214fd267f956586a611f45..4fa4a836a0726dea700d50270f40da27972f9162 100644 (file)
@@ -1705,7 +1705,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;
@@ -1760,7 +1760,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;