Commit d967c91
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: 7dc66ab ("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>1 parent f03e274 commit d967c91
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3087 | 3087 | | |
3088 | 3088 | | |
3089 | 3089 | | |
3090 | | - | |
3091 | 3090 | | |
3092 | 3091 | | |
3093 | 3092 | | |
3094 | 3093 | | |
3095 | 3094 | | |
3096 | 3095 | | |
3097 | 3096 | | |
3098 | | - | |
3099 | 3097 | | |
3100 | 3098 | | |
3101 | 3099 | | |
| |||
0 commit comments