]> Git Repo - linux.git/commit
Btrfs: return the internal error unchanged if btrfs_get_extent_fiemap() call failed...
authorJeff Liu <[email protected]>
Thu, 9 Feb 2012 06:25:50 +0000 (14:25 +0800)
committerDavid Sterba <[email protected]>
Wed, 15 Feb 2012 15:40:23 +0000 (16:40 +0100)
commit6af021d8fc3bcce790e7fbb391e39c5920fa3f71
tree9b3e3f49627aed11fa3105c469b1719c71a39636
parent8f24b49688281a77e8331894ed407f0cfe732303
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 <[email protected]>
Signed-off-by: Jie Liu <[email protected]>
fs/btrfs/file.c
This page took 0.048691 seconds and 4 git commands to generate.