[PATCH 0/4] btrfs, sysfs cleanup and add dev_state

Anand Jain
2019-12-05T11:27:16Z

Patch 1/4 is a cleanup patch.
Patch 2/4 adds the kobject devinfo which is a preparatory to patch 4/4.
Patch 3/4 was sent before, no functional changes, change log is updated.
Patch 4/4 creates the attribute dev_state.

Anand Jain (4):
btrfs: sysfs, use btrfs_sysfs_remove_fsid in fail return in add_fsid
btrfs: sysfs, add UUID/devinfo kobject
btrfs: sysfs, rename device_link add,remove functions
btrfs: sysfs, add devid/dev_state kobject and attribute

fs/btrfs/dev-replace.c | 4 +-
fs/btrfs/sysfs.c | 130 +++++++++++++++++++++++++++++++----------
fs/btrfs/sysfs.h | 4 +-
fs/btrfs/volumes.c | 8 +--
fs/btrfs/volumes.h | 3 +
5 files changed, 111 insertions(+), 38 deletions(-)

--
2.23.0