Skip to content

Fix bugs in backref resolving code

Alexander Block linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Btrfs: introduce btrfs_next_old_itemfs/btrfs/ctree.h+7 -20 replies
2/2Btrfs: don't assume to be on the correct extent in add_all_parentsfs/btrfs/backref.c+52 -420 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Fix bugs in backref resolving code

This bug popped up while working on btrfs send. This patchset contains two patches. The first one introduces btrfs_next_old_leaf which is needed in the second patch which is the actual fix.

Both patches should probably go into 3.5 as they fix wrongly resolved backrefs and a crash.

Big thanks to Jan Schmidt for his help here.

Alexander Block (2):
Btrfs: introduce btrfs_next_old_item
Btrfs: don't assume to be on the correct extent in add_all_parents

 fs/btrfs/backref.c |   94 +++++++++++++++++++++++++++++-----------------------
 fs/btrfs/ctree.h   |    9 +++--
 2 files changed, 59 insertions(+), 44 deletions(-)
Signature · 1 line
1.7.10