Btrfs: add btrfs_search_old_slot
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 16 May 2012 16:25:47 +0000 (18:25 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 30 May 2012 13:17:33 +0000 (15:17 +0200)
commit5d9e75c41d11ca79b1d1ff6ed17c88c9047d1fea
treec7e6e1011997dcba5fd9522cd4172b34dec15860
parentf3ea38da3e76455fbd6d405cdca4d050ed085458
Btrfs: add btrfs_search_old_slot

The tree modification log together with the current state of the tree gives
a consistent, old version of the tree. btrfs_search_old_slot is used to
search through this old version and return old (dummy!) extent buffers.
Naturally, this function cannot do any tree modifications.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c
fs/btrfs/ctree.h