Skip to content

Commit

Permalink
btrfs: rename add_device_membership to btrfs_kobj_add_device
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
  • Loading branch information
Anand Jain authored and Chris Mason committed Jun 28, 2014
1 parent 8408c71 commit 9b4eaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 9b4eaf4

Please sign in to comment.