summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-05-29 17:23:20 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:47 +0200
commit7bcb8164ad9435068d9bc3b83b8a002c64d63ff6 (patch)
tree3f29cdf256f0698815243a8c5c653f3c37a542b4 /fs/btrfs/super.c
parentfa6d2ae540a200a17bb7ee769f9df22d411c9404 (diff)
downloadlinux-stable-7bcb8164ad9435068d9bc3b83b8a002c64d63ff6.tar.gz
linux-stable-7bcb8164ad9435068d9bc3b83b8a002c64d63ff6.tar.bz2
linux-stable-7bcb8164ad9435068d9bc3b83b8a002c64d63ff6.zip
btrfs: use device_list_mutex when removing stale devices
btrfs_free_stale_devices() finds a stale (not opened) device matching path in the fs_uuid list. We are already under uuid_mutex so when we check for each fs_devices, hold the device_list_mutex too. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions