diff options
author | Anand Jain <anand.jain@oracle.com> | 2015-08-14 13:32:48 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-29 17:29:59 +0300 |
commit | e3bd6973bcf134a56786a8bd248d1740249352ec (patch) | |
tree | 19debb8a748e8b44b6878ddecda10bee4d6d3ab4 /fs/btrfs/sysfs.c | |
parent | 6618a59bfc0a0490f2a51df37c67878e23285670 (diff) | |
download | linux-e3bd6973bcf134a56786a8bd248d1740249352ec.tar.xz |
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/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 095a302417ef..df67f6bee2a9 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -683,7 +683,7 @@ int btrfs_sysfs_add_device(struct btrfs_fs_devices *fs_devs) return 0; } -int btrfs_kobj_add_device(struct btrfs_fs_devices *fs_devices, +int btrfs_sysfs_add_device_link(struct btrfs_fs_devices *fs_devices, struct btrfs_device *one_device) { int error = 0; @@ -744,7 +744,7 @@ int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info) btrfs_set_fs_info_ptr(fs_info); - error = btrfs_kobj_add_device(fs_devs, NULL); + error = btrfs_sysfs_add_device_link(fs_devs, NULL); if (error) return error; |