Fix path slots selection in btrfs_search_forward
authorYan <yanzheng@21cn.com>
Thu, 24 Jul 2008 16:19:49 +0000 (12:19 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:05 +0000 (11:04 -0400)
commit9652480bf48500885a30754b4a5c436b5b34456d
tree396958a55cd1be287a093821d916b0c7b86bb5e2
parent445dceb78f3445b9bcade90e93ca35cae6120172
Fix path slots selection in btrfs_search_forward

We should decrease the found slot by one as btrfs_search_slot does
when bin_search return 1 and node level > 0.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c