From: Yan Zheng Date: Fri, 24 Jul 2009 15:06:53 +0000 (-0400) Subject: Btrfs: Fix ordering of key field checks in btrfs_previous_item X-Git-Tag: v2.6.31-rc5~75^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a4eefbb745ec0e8a5b694ae3f40cc34082d8f61;p=pandora-kernel.git Btrfs: Fix ordering of key field checks in btrfs_previous_item Check objectid of item before checking the item type, otherwise we may return zero for a key that is actually too low. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed