diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2021-10-14 10:03:11 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-01-03 15:09:42 +0100 |
| commit | 17130a65f0cd71f9c26bec8f0f097fc61013b6f8 (patch) | |
| tree | 18930c5c8847301b870c3e620e1987b2af20b119 /fs/btrfs/btrfs_inode.h | |
| parent | 232796df8c1437c41d308d161007f0715bac0a54 (diff) | |
| download | linux-17130a65f0cd71f9c26bec8f0f097fc61013b6f8.tar.gz linux-17130a65f0cd71f9c26bec8f0f097fc61013b6f8.tar.bz2 linux-17130a65f0cd71f9c26bec8f0f097fc61013b6f8.zip | |
btrfs: remove spurious unlock/lock of unused_bgs_lock
Since both unused block groups and reclaim bgs lists are protected by
unused_bgs_lock then free them in the same critical section without
doing an extra unlock/lock pair.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions
