Cleanups for device locking and documentation of the various mutexes. Patch 1 is a bugfix that could be considered for 4.15 as we could leak bios under some rare condition, but so far this hasn't been reported so I don't rate is as critical. David Sterba (11): btrfs: add missing device::flush_bio puts btrfs: rename device free rcu helper to free_device_rcu btrfs: introduce free_device helper btrfs: use free_device where opencoded btrfs: simplify exit paths in btrfs_init_new_device btrfs: document device locking btrfs: dev_alloc_list is not protected by RCU, use normal list_del btrfs: simplify btrfs_close_bdev btrfs: switch to RCU for device traversal in btrfs_ioctl_dev_info btrfs: switch to RCU for device traversal in btrfs_ioctl_fs_info btrfs: use non-RCU list traversal in write_all_supers callees fs/btrfs/disk-io.c | 9 ++-- fs/btrfs/ioctl.c | 15 +++--- fs/btrfs/volumes.c | 134 ++++++++++++++++++++++++++++++++++++++++------------- 3 files changed, 114 insertions(+), 44 deletions(-) -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
