From: Breno Leitao <leitao@debian.org>
To: Filipe Manana <fdmanana@kernel.org>
Cc: Dmitry Antipov <dmantipov@yandex.ru>,
David Sterba <dsterba@suse.com>, Chris Mason <clm@fb.com>,
linux-btrfs@vger.kernel.org, lvc-project@linuxtesting.org
Subject: Re: [PATCH] btrfs: fix memory leak in btrfs_do_encoded_write()
Date: Fri, 31 Jul 2026 05:13:25 -0700 [thread overview]
Message-ID: <amyRDM7N4GOHtskk@gmail.com> (raw)
In-Reply-To: <CAL3q7H4ZQVwTMUEKyME=Hv0RupZEQ5-EaRm72jmg+Wc3aVgj1Q@mail.gmail.com>
On Mon, Jul 27, 2026 at 06:01:34PM +0100, Filipe Manana wrote:
> On Mon, Jul 27, 2026 at 12:54 PM Dmitry Antipov <dmantipov@yandex.ru> wrote:
> > Fix this by freeing an extent changeset before returning from
> > 'btrfs_do_encoded_write()'.
> >
> > Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
>
> Looks good, thans. I added it to the github for-next branch with the
> addition of:
>
> Fixes: 7c0c7269f7b5 ("btrfs: add BTRFS_IOC_ENCODED_WRITE")
That looks correct from my investigation as well.
I've spent some time on this one, and this fix looks like correct. Feel
free to add:
Reviewed-by: Breno Leitao <leitao@debian.org>
Tested-by: Breno Leitao <leitao@debian.org>
prev parent reply other threads:[~2026-07-31 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 11:53 [PATCH] btrfs: fix memory leak in btrfs_do_encoded_write() Dmitry Antipov
2026-07-27 17:01 ` Filipe Manana
2026-07-31 12:13 ` Breno Leitao [this message]
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=amyRDM7N4GOHtskk@gmail.com \
--to=leitao@debian.org \
--cc=clm@fb.com \
--cc=dmantipov@yandex.ru \
--cc=dsterba@suse.com \
--cc=fdmanana@kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.