diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-06-11 15:16:21 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-30 01:59:13 +0200 |
| commit | ce6050bafb4e33377dc17fcc357736bfc351180c (patch) | |
| tree | 9e8c1b050fac066ba191f48eceea93eed3e9de48 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git | |
| parent | a2d8d5647ed854e38f941741aea45b9eb15a6350 (diff) | |
btrfs: fix root leak if its reloc root is unexpected in merge_reloc_roots()
If we have an unexpected reloc_root for our root, we jump to the out label
but never drop the reference we obtained for root, resulting in a leak.
Add a missing btrfs_put_root() call.
Fixes: 24213fa46c70 ("btrfs: do proper error handling in merge_reloc_roots")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
