public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: enhance error handling of __free_extent()
@ 2025-11-24  4:15 Qu Wenruo
  2025-11-24  4:15 ` [PATCH 1/2] btrfs-progs: do not dump leaf if the path is released inside __free_extent() Qu Wenruo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qu Wenruo @ 2025-11-24  4:15 UTC (permalink / raw)
  To: linux-btrfs

There is a github bug report about btrfs-convert crash, where
btrfs_print_leaf() is called on NULL path->nodes[0].

The first patch fix the bug by cross-port a fix from kernel part.

The second patch refactor the error handling of __free_extent(), mostly
follow the kernel patch "btrfs: refactor the error handling of __btrfs_free_extent()".

Qu Wenruo (2):
  btrfs-progs: do not dump leaf if the path is released inside
    __free_extent()
  btrfs-progs: btrfs: refactor the error handling of __free_extent()

 kernel-shared/extent-tree.c | 154 ++++++++++++++++++------------------
 1 file changed, 75 insertions(+), 79 deletions(-)

--
2.52.0


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

end of thread, other threads:[~2025-11-25 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24  4:15 [PATCH 0/2] btrfs-progs: enhance error handling of __free_extent() Qu Wenruo
2025-11-24  4:15 ` [PATCH 1/2] btrfs-progs: do not dump leaf if the path is released inside __free_extent() Qu Wenruo
2025-11-24  4:15 ` [PATCH 2/2] btrfs-progs: btrfs: refactor the error handling of __free_extent() Qu Wenruo
2025-11-25 17:05 ` [PATCH 0/2] btrfs-progs: enhance " Boris Burkov

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