Skip to content

btrfs: minor fixes in handle_indirect_tree_backref()

Qu Wenruo linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Add unlikely() for both patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: reject too high tree level during backref walkfs/btrfs/backref.c+5 -02 replies
2/2btrfs: avoid NULL-ptr-dreference after a lowest_level searchfs/btrfs/backref.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] btrfs: minor fixes in handle_indirect_tree_backref()

[CHANGELOG]
v2:
- Add unlikely() for both patches

The first one is reported by Sashiko, the second one is another bug exposed during fixing the first one.

Qu Wenruo (2):
btrfs: reject too high tree level during backref walk
btrfs: avoid NULL-ptr-dreference after a lowest_level search

 fs/btrfs/backref.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.56.1