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
sent before.
   [PATCH RFC] btrfs: revamp /sys/fs/btrfs/<fsid>/devices

Thanks.


Anand Jain (4):
  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

 fs/btrfs/dev-replace.c |    5 +++++
 fs/btrfs/sysfs.c       |   32 +++++++++++++++++++++++++++++---
 fs/btrfs/sysfs.h       |    4 ++++
 fs/btrfs/volumes.c     |   17 +++++++++++++++++
 4 files changed, 55 insertions(+), 3 deletions(-)

--
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

Reply via email to