]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: lift uuid_mutex to callers of btrfs_parse_early_options
authorDavid Sterba <dsterba@suse.com>
Tue, 19 Jun 2018 15:50:25 +0000 (17:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:47 +0000 (13:12 +0200)
commitb809e2bed20043b7788e2b6f53c68cab23da3fde
tree974a8bdbdb8270a79f358173866eb7a0c1c9a5f1
parentd6e72ea8c61fe1049a3cbf869909f5c9591a9840
btrfs: lift uuid_mutex to callers of btrfs_parse_early_options

Prepartory work to fix race between mount and device scan.

btrfs_parse_early_options calls the device scan from mount and we'll
need to let mount completely manage the critical section.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c