From: Anand Jain Date: Tue, 3 Jun 2014 03:35:59 +0000 (+0800) Subject: btrfs: rename add_device_membership to btrfs_kobj_add_device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b4eaf43f4b0207b5d1ca8b8d22df88ea9e142fe;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git btrfs: rename add_device_membership to btrfs_kobj_add_device Signed-off-by: Anand Jain Reviewed-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index df39458f1487..1395efbffa2d 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -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;