summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ulist.h
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2023-12-22 01:46:16 +0900
committerDavid Sterba <dsterba@suse.com>2024-01-12 01:59:59 +0100
commitd967c914a633ee797255261808720f791b658f24 (patch)
treec16b9c6a139ea1ad3e70c49f0c35d89477c291e9 /fs/btrfs/ulist.h
parentf03e274a8b29d1d1c1bbd7f764766cb5ca537ab7 (diff)
downloadlinux-stable-d967c914a633ee797255261808720f791b658f24.tar.gz
linux-stable-d967c914a633ee797255261808720f791b658f24.tar.bz2
linux-stable-d967c914a633ee797255261808720f791b658f24.zip
btrfs: fix unbalanced unlock of mapping_tree_lock
The error path of btrfs_get_chunk_map() releases fs_info->mapping_tree_lock. But, it is taken and released in btrfs_find_chunk_map(). So, there is no need to do so. Fixes: 7dc66abb5a47 ("btrfs: use a dedicated data structure for chunk maps") Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ulist.h')
0 files changed, 0 insertions, 0 deletions