Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: error handling improvement to btrfs_backref_error_cleanup()
@ 2026-11-23 23:10 Qu Wenruo
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-11-23 23:10 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-23 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 23:10 [PATCH 0/2] btrfs: error handling improvement to btrfs_backref_error_cleanup() Qu Wenruo
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox