Re: [PATCH] btrfs: scrub: fix memory leak in scrub_raid56_parity_stripe()
From: Qu Wenruo
Date: Wed Nov 05 2025 - 21:12:18 EST
在 2025/11/5 20:56, Markus Elfring 写道:
…
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.
As in the long run we're going to use on-stack bio for this particular call site.
Thanks,
Qu
Regards,
Markus