From: Miao Xie Date: Thu, 28 Mar 2013 08:12:15 +0000 (+0000) Subject: Btrfs: fix wrong return value of btrfs_lookup_csum() X-Git-Tag: v3.9-rc5~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82d130ff390be67d980d8b6f39e921c0b1d8d8e0;p=pandora-kernel.git Btrfs: fix wrong return value of btrfs_lookup_csum() If we don't find the expected csum item, but find a csum item which is adjacent to the specified extent, we should return -EFBIG, or we should return -ENOENT. But btrfs_lookup_csum() return -EFBIG even the csum item is not adjacent to the specified extent. Fix it. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed