These fixes are inspired by the bug report and its discussions in the
mailing list subject
btrfs: traverse seed devices if fs_devices::devices is empty in show_devname
Anand Jain (4):
btrfs: consolidate device_list_mutex in prepare_sprout to its parent
btrfs: save latest btrfs_device instead of its block_device in
fs_devices
btrfs: use latest_dev in btrfs_show_devname
btrfs: update latest_dev when we sprout
fs/btrfs/disk-io.c | 6 +++---
fs/btrfs/extent_io.c | 2 +-
fs/btrfs/inode.c | 2 +-
fs/btrfs/procfs.c | 6 +++---
fs/btrfs/super.c | 26 +++-----------------------
fs/btrfs/volumes.c | 19 +++++++++++--------
fs/btrfs/volumes.h | 2 +-
7 files changed, 23 insertions(+), 40 deletions(-)
--
2.31.1