diff options
author | David Sterba <dsterba@suse.com> | 2016-02-15 09:28:48 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-28 04:59:13 -0400 |
commit | f47ab2588e424cb4898b75ace1e2323ddd18b990 (patch) | |
tree | 166362853bef1c873b1f68baa373f8426e0dec8f | |
parent | 02feae3c5525771878461b90edd2ba38fd3f5359 (diff) |
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>
-rw-r--r-- | fs/btrfs/volumes.c | 4 |
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: | |||
1706 | return ret; | 1706 | return ret; |
1707 | } | 1707 | } |
1708 | 1708 | ||
1709 | static int __check_raid_min_devices(struct btrfs_fs_info *fs_info) | 1709 | static int btrfs_check_raid_min_devices(struct btrfs_fs_info *fs_info) |
1710 | { | 1710 | { |
1711 | u64 all_avail; | 1711 | u64 all_avail; |
1712 | u64 num_devices; | 1712 | u64 num_devices; |
@@ -1761,7 +1761,7 @@ int btrfs_rm_device(struct btrfs_root *root, char *device_path, u64 devid) | |||
1761 | 1761 | ||
1762 | mutex_lock(&uuid_mutex); | 1762 | mutex_lock(&uuid_mutex); |
1763 | 1763 | ||
1764 | ret = __check_raid_min_devices(root->fs_info); | 1764 | ret = btrfs_check_raid_min_devices(root->fs_info); |
1765 | if (ret) | 1765 | if (ret) |
1766 | goto out; | 1766 | goto out; |
1767 | 1767 | ||