]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs, rename device_link add/remove functions
authorAnand Jain <anand.jain@oracle.com>
Wed, 12 Feb 2020 09:28:13 +0000 (17:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:35 +0000 (17:01 +0100)
commit1960af69531c9758d250fa902bad13e3eb7f5e89
treebe7fa8e18e7200443bd70c1ffbaffc5caabf0f8b
parentf529b57dfa99946b32041ed9ff6dbf87cc79ada0
btrfs: sysfs, rename device_link add/remove functions

Since commit 8a6f333ad700 ("btrfs: sysfs, add devid/dev_state kobject and
device attributes"), the functions btrfs_sysfs_add_device_link() and
btrfs_sysfs_rm_device_link() do more than just adding and removing the
device link as its name indicated. Rename them to be more specific
that's about the directory with the attirbutes

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h
fs/btrfs/volumes.c