Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: error handling improvement to btrfs_backref_error_cleanup()
Date: Tue, 24 Nov 2026 09:40:44 +1030	[thread overview]
Message-ID: <cover.1795475376.git.wqu@suse.com> (raw)

The first one is a case where erroring out halfway can be problematic,
change it to validate before anything else.

The second one is reported by Sashiko.

Qu Wenruo (2):
  btrfs: make btrfs_backref_finish_upper_links() fail before touching
    the cache
  btrfs: fix leaked backref nodes in btrfs_backref_error_cleanup()

 fs/btrfs/backref.c | 92 ++++++++++++++++++++++------------------------
 1 file changed, 43 insertions(+), 49 deletions(-)

-- 
2.56.1


             reply	other threads:[~2026-11-23 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 23:10 Qu Wenruo [this message]
2026-11-23 23:10 ` [PATCH 1/2] btrfs: make btrfs_backref_finish_upper_links() fail before touching the cache Qu Wenruo
2026-11-23 23:10 ` [PATCH 2/2] btrfs: fix leaked backref nodes in btrfs_backref_error_cleanup() 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.1795475376.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox