aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-02-14 16:11:46 -0500
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:59 +0100
commitefc3453494af78180ac00d9dd8391fd52c4a921e (patch)
treeafbfe97048a58a7d327e01ccf9c1ca292f6dad41 /fs/btrfs/tests
parentbtrfs: don't take an extra root ref at allocation time (diff)
downloadwireguard-linux-efc3453494af78180ac00d9dd8391fd52c4a921e.tar.xz
wireguard-linux-efc3453494af78180ac00d9dd8391fd52c4a921e.zip
btrfs: make btrfs_cleanup_fs_roots use the radix tree lock
The radix root is primarily protected by the fs_roots_radix_lock, so use that to lookup and get a ref on all of our fs roots in btrfs_cleanup_fs_roots. The tree reference is taken in the protected section as before. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests')
0 files changed, 0 insertions, 0 deletions