From: Yan Zheng Date: Wed, 22 Jul 2009 13:59:00 +0000 (-0400) Subject: Btrfs: fix double increment of path->slots[0] in btrfs_next_leaf X-Git-Tag: v2.6.31-rc5~75^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e457afec60fdbd86b963d36f4a8a9285088c6043;p=pandora-kernel.git Btrfs: fix double increment of path->slots[0] in btrfs_next_leaf if 1 is returned by btrfs_search_slot, the path already points to the first item with 'key > searching key'. So increasing path->slots[0] by one is superfluous in that case. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed