OSDN Git Service

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)
commitf3cd2c58110dad14ee37cc47fd1473d90ee68ccb
treebe7fa8e18e7200443bd70c1ffbaffc5caabf0f8b
parent1f6087e69c73b2ce8f1c20a4199488d937bb6b67
btrfs: sysfs, rename device_link add/remove functions

Since commit 668e48af7a94 ("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