diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-07-16 11:41:21 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:41:39 +0200 |
| commit | fdea8df44f1247e42c4ff48b1b307bde4cc807d5 (patch) | |
| tree | 78a2d415fc567fa619cfd0a1e46578bc758e29b9 /tools/perf/scripts/python | |
| parent | 485e1b15c0717b866f467dea37a2be59f3d39ac9 (diff) | |
btrfs: error on missing block group when unaccounting log tree extent buffers
commit fc5799986fbca957e2e3c0480027f249951b7bcf upstream.
Currently we only log an error message if we can't find the block group
for a log tree extent buffer when unaccounting it (while freeing a log
tree). A missing block group means something is seriously wrong and we
end up leaking space from the metadata space info. So return -ENOENT in
case we don't find the block group.
CC: stable@vger.kernel.org # 6.12+
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
