diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-06-11 10:29:29 +0400 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-06-14 20:52:09 +0400 |
commit | 3d7806eca43e73a9721d2e09369200ed93036bd0 (patch) | |
tree | 339d940a7cb3522169f9e2a8b14edf8b8ae15880 /REPORTING-BUGS | |
parent | a95236d99fa56766f11056903439f55fe5038bcf (diff) | |
download | linux-3d7806eca43e73a9721d2e09369200ed93036bd0.tar.xz |
Btrfs: add btrfs_next_old_leaf
To make sense of the tree mod log, the backref walker not only needs
btrfs_search_old_slot, but it also called btrfs_next_leaf, which in turn was
calling btrfs_search_slot. This obviously didn't give the correct result.
This commit adds btrfs_next_old_leaf, a drop-in replacement for
btrfs_next_leaf with a time_seq parameter. If it is zero, it behaves exactly
like btrfs_next_leaf. If it is non-zero, it will use btrfs_search_old_slot
with this time_seq parameter.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions