From: Jeff Liu Date: Thu, 9 Feb 2012 06:25:50 +0000 (+0800) Subject: Btrfs: return the internal error unchanged if btrfs_get_extent_fiemap() call failed... X-Git-Tag: v3.3-rc5~9^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af021d8fc3bcce790e7fbb391e39c5920fa3f71;p=pandora-kernel.git Btrfs: return the internal error unchanged if btrfs_get_extent_fiemap() call failed for SEEK_DATA/SEEK_HOLE inquiry Given that ENXIO only means "offset beyond EOF" for either SEEK_DATA or SEEK_HOLE inquiry in a desired file range, so we should return the internal error unchanged if btrfs_get_extent_fiemap() call failed, rather than ENXIO. Cc: Dave Chinner Signed-off-by: Jie Liu --- Reading git-diff-tree failed