[PATCH 0/2] btrfs: return early in allocation failures

Miquel Sabaté Solà posted 2 patches 1 month, 1 week ago
fs/btrfs/raid56.c     | 29 ++++++++++++++++++-----------
fs/btrfs/ref-verify.c | 10 ++++++----
2 files changed, 24 insertions(+), 15 deletions(-)
[PATCH 0/2] btrfs: return early in allocation failures
Posted by Miquel Sabaté Solà 1 month, 1 week ago
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