summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-02-15 15:28:48 +0100
committerDavid Sterba <dsterba@suse.com>2016-04-28 10:59:13 +0200
commitf47ab2588e424cb4898b75ace1e2323ddd18b990 (patch)
tree166362853bef1c873b1f68baa373f8426e0dec8f /fs/btrfs
parent02feae3c5525771878461b90edd2ba38fd3f5359 (diff)
downloadlinux-stable-f47ab2588e424cb4898b75ace1e2323ddd18b990.tar.gz
linux-stable-f47ab2588e424cb4898b75ace1e2323ddd18b990.tar.bz2
linux-stable-f47ab2588e424cb4898b75ace1e2323ddd18b990.zip
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/volumes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 2fdd2d3322aa..9051b4472bea 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -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;