Skip to content
Commit d6ab17f2 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

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: default avatarMateusz S <muttdini@gmail.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 0891f997
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment