Commit 9b4eaf43 authored by Anand Jain's avatar Anand Jain Committed by Chris Mason

btrfs: rename add_device_membership to btrfs_kobj_add_device

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 8408c716
...@@ -605,7 +605,7 @@ static void init_feature_attrs(void) ...@@ -605,7 +605,7 @@ static void init_feature_attrs(void)
} }
} }
static int add_device_membership(struct btrfs_fs_info *fs_info) static int btrfs_kobj_add_device(struct btrfs_fs_info *fs_info)
{ {
int error = 0; int error = 0;
struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; struct btrfs_fs_devices *fs_devices = fs_info->fs_devices;
...@@ -666,7 +666,7 @@ int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info) ...@@ -666,7 +666,7 @@ int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info)
if (error) if (error)
goto failure; goto failure;
error = add_device_membership(fs_info); error = btrfs_kobj_add_device(fs_info);
if (error) if (error)
goto failure; goto failure;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment