commit | d6ab17f261919d212ec0a9e33d01f46df0ec1fde | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Wed Jul 12 10:26:47 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Jul 13 14:55:05 2017 -0700 |
tree | 185ec0d398285b1c444df1de3f109860b000f3f5 | |
parent | 0891f9971a3b00d243d5743cc78a628ad060adea [diff] |
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>