diff options
author | David Sterba <dsterba@suse.com> | 2018-06-19 17:09:47 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:47 +0200 |
commit | f5194e34cabaddd348a90f950e0a8188dd26cdc0 (patch) | |
tree | 8a7b478717ccb4bb87575d1594d437adebb552e3 /fs/binfmt_elf.c | |
parent | btrfs: lift uuid_mutex to callers of btrfs_scan_one_device (diff) | |
download | linux-f5194e34cabaddd348a90f950e0a8188dd26cdc0.tar.xz linux-f5194e34cabaddd348a90f950e0a8188dd26cdc0.zip |
btrfs: lift uuid_mutex to callers of btrfs_open_devices
Prepartory work to fix race between mount and device scan.
The callers will have to manage the critical section, eg. mount wants to
scan and then call btrfs_open_devices without the ioctl scan walking in
and modifying the fs devices in the meantime.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions