aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2017-09-25 12:23:03 +0200
committerLinus Torvalds <[email protected]>2017-09-26 13:46:06 -0700
commitfc46820b27a2d9a46f7e90c9ceb4a64a1bc5fab8 (patch)
treef3475fb1ff7230052fc721baf0e1c78019d3e956 /drivers/fpga/fpga-region.c
parente365806ac289457263a133bd32df8df49897f612 (diff)
vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
In generic_file_llseek_size, return -ENXIO for negative offsets as well as offsets beyond EOF. This affects filesystems which don't implement SEEK_HOLE / SEEK_DATA internally, possibly because they don't support holes. Fixes xfstest generic/448. Signed-off-by: Andreas Gruenbacher <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions