Skip to content

btrfs: rst: minor error handling fixes

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix the possible bioc_list memory leak during errorfs/btrfs/inode.c fs/btrfs/raid-stripe-tree.c fs/btrfs/raid-stripe-tree.h+16 -60 replies
2/2btrfs: return proper negative error code for update_raid_extent_item()fs/btrfs/raid-stripe-tree.c+4 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes Thumshirn
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: rst: minor error handling fixes

Sashiko found two pre-existing bugs in one small patch unrelated to both bugs.

Both reports are validated by myself manually, and both should be fixed.

Qu Wenruo (2):
btrfs: fix the possible bioc_list memory leak during error
btrfs: return proper negative error code for update_raid_extent_item()

 fs/btrfs/inode.c            |  3 +++
 fs/btrfs/raid-stripe-tree.c | 24 ++++++++++++++++--------
 fs/btrfs/raid-stripe-tree.h |  1 +
 3 files changed, 20 insertions(+), 8 deletions(-)
Signature · 1 line
2.54.0