From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/3] btrfs-progs: fix memory leaks related to zone/RST
Date: Thu, 11 Jun 2026 10:43:40 +0930 [thread overview]
Message-ID: <cover.1781140396.git.wqu@suse.com> (raw)
Just give a full test run (except libbtrfsutil run) with D=asan, all kinds of
memory leaks related to zone/RST are exposed.
Fix them one by one.
Qu Wenruo (3):
btrfs-progs: fix a memory leak in btrfs_prepare_device() for zoned
devices
btrfs-progs: fix a memory leak in btrfs_load_block_group_zone_info()
btrfs-progs: fix a memory leak in __btrfs_map_block() after RST lookup
failure
common/device-utils.c | 4 ++--
kernel-shared/volumes.c | 6 ++++--
kernel-shared/zoned.c | 3 ++-
kernel-shared/zoned.h | 10 ++++++++++
4 files changed, 18 insertions(+), 5 deletions(-)
--
2.54.0
next reply other threads:[~2026-06-11 1:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 1:13 Qu Wenruo [this message]
2026-06-11 1:13 ` [PATCH 1/3] btrfs-progs: fix a memory leak in btrfs_prepare_device() for zoned devices Qu Wenruo
2026-06-11 1:13 ` [PATCH 2/3] btrfs-progs: fix a memory leak in btrfs_load_block_group_zone_info() Qu Wenruo
2026-06-11 1:13 ` [PATCH 3/3] btrfs-progs: fix a memory leak in __btrfs_map_block() after RST lookup failure Qu Wenruo
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=cover.1781140396.git.wqu@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@vger.kernel.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.