diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-12 19:26:47 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-13 23:55:05 +0200 |
commit | d6ab17f261919d212ec0a9e33d01f46df0ec1fde (patch) | |
tree | 185ec0d398285b1c444df1de3f109860b000f3f5 /fs/xfs | |
parent | Revert "xfs: grab dquots without taking the ilock" (diff) | |
download | linux-d6ab17f261919d212ec0a9e33d01f46df0ec1fde.tar.xz linux-d6ab17f261919d212ec0a9e33d01f46df0ec1fde.zip |
vfs: in iomap seek_{hole,data}, return -ENXIO for negative offsets
In the iomap implementations of SEEK_HOLE and SEEK_DATA, make sure we
return -ENXIO for negative offsets.
Inspired-by: Mateusz S <muttdini@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions