summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode-map.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-06-19 17:37:36 +0300
committerDavid Sterba <dsterba@suse.com>2018-08-06 14:12:47 +0300
commit899f9307c33ce4758c30a076b10ed54d5c91c6e7 (patch)
treea4a20c74583fb1d5f4527977faa947670562f6de /fs/btrfs/inode-map.h
parent7bcb8164ad9435068d9bc3b83b8a002c64d63ff6 (diff)
downloadlinux-899f9307c33ce4758c30a076b10ed54d5c91c6e7.tar.xz
btrfs: lift uuid_mutex to callers of btrfs_scan_one_device
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/btrfs/inode-map.h')
0 files changed, 0 insertions, 0 deletions