Re: btrfs: scrub: fix memory leak in scrub_raid56_parity_stripe()

From: Markus Elfring

Date: Thu Nov 06 2025 - 01:55:34 EST


>> …
>>> Add the missing bio_put() calls to properly drop the bio reference
>>> in those error cases.
>>
>> How do you think about to use additional labels?
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.18-rc4#n526
>
> I believe the current hot fix is fine.


Would you like to care a bit more for avoidance of duplicate source code
(also according to better exception handling)?

Regards,
Markus