public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: return early in allocation failures
@ 2026-02-27 15:17 Miquel Sabaté Solà
  2026-02-27 15:17 ` [PATCH 1/2] btrfs: return early if allocations fail on add_block_entry() Miquel Sabaté Solà
  2026-02-27 15:17 ` [PATCH 2/2] btrfs: return early if allocations fail on raid56 Miquel Sabaté Solà
  0 siblings, 2 replies; 5+ messages in thread
From: Miquel Sabaté Solà @ 2026-02-27 15:17 UTC (permalink / raw)
  To: dsterba; +Cc: clm, linux-btrfs, linux-kernel, Miquel Sabaté Solà

Minor cleanups I saw when I was working on [1]. Both commits are related to
a pattern where two pointers were being initialized and checked after that.

[1] https://lore.kernel.org/linux-btrfs/20260223234451.277369-1-mssola@mssola.com/

Miquel Sabaté Solà (2):
  btrfs: return early if allocations fail on add_block_entry()
  btrfs: return early if allocations fail on raid56

 fs/btrfs/raid56.c     | 29 ++++++++++++++++++-----------
 fs/btrfs/ref-verify.c | 10 ++++++----
 2 files changed, 24 insertions(+), 15 deletions(-)

--
2.53.0

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

end of thread, other threads:[~2026-02-27 20:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27 15:17 [PATCH 0/2] btrfs: return early in allocation failures Miquel Sabaté Solà
2026-02-27 15:17 ` [PATCH 1/2] btrfs: return early if allocations fail on add_block_entry() Miquel Sabaté Solà
2026-02-27 20:49   ` Qu Wenruo
2026-02-27 15:17 ` [PATCH 2/2] btrfs: return early if allocations fail on raid56 Miquel Sabaté Solà
2026-02-27 20:50   ` Qu Wenruo

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