diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-11-21 17:33:33 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-01-20 16:40:50 +0100 |
commit | be2cf92e0a2f64efe0709a2cfe5d9f4852d14b61 (patch) | |
tree | 636dc9db54b8200fa1a2dd3841b4d1d3221c0a36 /fs/btrfs/disk-io.c | |
parent | c6761a9ed329dd41fee09dc2926126768e5ca34c (diff) | |
download | lwn-be2cf92e0a2f64efe0709a2cfe5d9f4852d14b61.tar.gz lwn-be2cf92e0a2f64efe0709a2cfe5d9f4852d14b61.zip |
btrfs: sysfs, rename btrfs_sysfs_add_device()
btrfs_sysfs_add_device() creates the directory
/sys/fs/btrfs/UUID/devices but its function name is misleading. Rename
it to btrfs_sysfs_add_devices_kobj() instead. No functional changes.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 639104326691..65cfd0fd0f83 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3089,7 +3089,7 @@ int __cold open_ctree(struct super_block *sb, goto fail_block_groups; } - ret = btrfs_sysfs_add_device(fs_devices); + ret = btrfs_sysfs_add_devices_kobj(fs_devices); if (ret) { btrfs_err(fs_info, "failed to init sysfs device interface: %d", ret); |