From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Markus Elfring <Markus.Elfring@web.de>,
Zilin Guan <zilin@seu.edu.cn>,
linux-btrfs@vger.kernel.org, Chris Mason <clm@fb.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
David Sterba <dsterba@suse.com>,
Jianhao Xu <jianhao.xu@seu.edu.cn>
Subject: Re: [PATCH] btrfs: scrub: fix memory leak in scrub_raid56_parity_stripe()
Date: Thu, 6 Nov 2025 12:42:08 +1030 [thread overview]
Message-ID: <a2d629ab-9f21-4b98-a442-fd73cbbb2dcd@gmx.com> (raw)
In-Reply-To: <2603afff-0789-46d3-9872-3911132a53b1@web.de>
在 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
>
next prev parent reply other threads:[~2025-11-06 2:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 3:53 Zilin Guan
2025-11-05 8:53 ` Qu Wenruo
2025-11-05 10:26 ` Markus Elfring
2025-11-06 2:12 ` Qu Wenruo [this message]
2025-11-06 6:55 ` Markus Elfring
2025-11-06 7:02 ` Qu Wenruo
2025-11-06 7:19 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a2d629ab-9f21-4b98-a442-fd73cbbb2dcd@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=Markus.Elfring@web.de \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=jianhao.xu@seu.edu.cn \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zilin@seu.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®