This patch set fixes the bugs which Jeff patch is fixing, which is to update sysfs when device is added and removed.
Further, this patch set also address the following. - Update sysfs path when device is replaced - Update sysfs path when sprout is created Also mainly this patch makes the code more modular which will support the enhancement like in the RFC patch 6/6 below Thanks. Anand Jain (6): btrfs: rename add_device_membership to btrfs_kobj_add_device btrfs: dev delete should remove sysfs entry btrfs: dev add should add its sysfs entry btrfs: dev replace should replace the sysfs entry btrfs: create sprout should rename fsid on the sysfs as well btrfs: revamp /sys/fs/btrfs/<fsid>/devices fs/btrfs/dev-replace.c | 5 +++ fs/btrfs/sysfs.c | 103 +++++++++++++++++++++++++++++++++++++++++---- fs/btrfs/sysfs.h | 4 ++ fs/btrfs/volumes.c | 18 ++++++++ fs/btrfs/volumes.h | 2 + include/uapi/linux/btrfs.h | 1 + 6 files changed, 125 insertions(+), 8 deletions(-) -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html