btrfs: rename add_device_membership to btrfs_kobj_add_device
authorAnand Jain <anand.jain@oracle.com>
Tue, 3 Jun 2014 03:35:59 +0000 (11:35 +0800)
committerChris Mason <clm@fb.com>
Sat, 28 Jun 2014 20:48:41 +0000 (13:48 -0700)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/sysfs.c

index df39458f14879999c2b1bce5b59d06e626ccbf1d..1395efbffa2d0ba7225aef0bd2b5f3875462b5be 100644 (file)
@@ -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;
        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)
        if (error)
                goto failure;
 
-       error = add_device_membership(fs_info);
+       error = btrfs_kobj_add_device(fs_info);
        if (error)
                goto failure;