From: Filipe David Borba Manana Date: Wed, 14 Aug 2013 02:00:21 +0000 (+0100) Subject: Btrfs: don't miss inode ref items in BTRFS_IOC_INO_LOOKUP X-Git-Tag: v3.12-rc1~40^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18674c6cc10e78745f7af7faf26583ea9fe78c38;p=pandora-kernel.git Btrfs: don't miss inode ref items in BTRFS_IOC_INO_LOOKUP If the inode ref key was not found and the current leaf slot was 0 (first item in the leaf) the code would always return -ENOENT. This was not correct because the desired inode ref item might be the last item in the previous leaf. Signed-off-by: Filipe David Borba Manana Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed