diff options
| author | 2026-02-20 12:53:17 +0000 | |
|---|---|---|
| committer | 2026-02-26 15:03:29 +0100 | |
| commit | f15fb3d41543244d1179f423da4a4832a55bc050 (patch) | |
| tree | d11d679baba98a937313a09c83c11b433953a612 /tools/perf/scripts/python | |
| parent | btrfs: fix compat mask in error messages in btrfs_check_features() (diff) | |
btrfs: fix chunk map leak in btrfs_map_block() after btrfs_chunk_map_num_copies()
Fix a chunk map leak in btrfs_map_block(): if we return early with -EINVAL,
we're not freeing the chunk map that we've just looked up.
Fixes: 0ae653fbec2b ("btrfs: reduce chunk_map lookups in btrfs_map_block()")
CC: stable@vger.kernel.org # 6.12+
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
