aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorOlga Kornievskaia <[email protected]>2021-03-31 15:30:25 -0400
committerTrond Myklebust <[email protected]>2021-04-14 09:36:29 -0400
commit73f5c88f521a630ea1628beb9c2d48a2e777a419 (patch)
treec201aceec23fd71d25a20381ef310f8d1687a61e /lib/mpi/mpi-internal.h
parented34695e15aba74f45247f1ee2cf7e09d449f925 (diff)
NFSv4.2 fix handling of sr_eof in SEEK's reply
Currently the client ignores the value of the sr_eof of the SEEK operation. According to the spec, if the server didn't find the requested extent and reached the end of the file, the server would return sr_eof=true. In case the request for DATA and no data was found (ie in the middle of the hole), then the lseek expects that ENXIO would be returned. Fixes: 1c6dcbe5ceff8 ("NFS: Implement SEEK") Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions