diff options
author | Anand Jain | 2015-08-14 18:32:48 +0800 |
---|---|---|
committer | David Sterba | 2015-09-29 16:29:59 +0200 |
commit | e3bd6973bcf134a56786a8bd248d1740249352ec (patch) | |
tree | 19debb8a748e8b44b6878ddecda10bee4d6d3ab4 /fs/btrfs/volumes.c | |
parent | 6618a59bfc0a0490f2a51df37c67878e23285670 (diff) |
Btrfs: rename btrfs_kobj_add_device to btrfs_sysfs_add_device_link
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 6fc735869c18..d22029ad9b1e 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2309,7 +2309,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path) tmp + 1); /* add sysfs device entry */ - btrfs_kobj_add_device(root->fs_info->fs_devices, device); + btrfs_sysfs_add_device_link(root->fs_info->fs_devices, device); /* * we've got more storage, clear any full flags on the space |