summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-07-16 11:41:21 +0100
committerDavid Sterba <dsterba@suse.com>2025-08-07 17:07:15 +0200
commitfc5799986fbca957e2e3c0480027f249951b7bcf (patch)
treef74670fa4aacea0b027d9116f5d448d2a2a07e5d /rust/helpers/pci.c
parentdeaf895212da74635a7f0a420e1ecf8f5eca1fe5 (diff)
btrfs: error on missing block group when unaccounting log tree extent buffers
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>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions