Files
twx-linux/fs
Olga Kornievskaia 28a55a8a49 NFSv4.2 fix handling of sr_eof in SEEK's reply
[ Upstream commit 73f5c88f52 ]

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: 1c6dcbe5ce ("NFS: Implement SEEK")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:59:43 +02:00
..
2020-11-05 11:08:53 +01:00
…
…
…
…
2021-05-22 10:59:39 +02:00
…
2021-05-22 10:59:41 +02:00
…
…
…
…
…
…
…
2020-06-22 09:05:01 +02:00
…
…
…
2020-03-05 16:42:12 +01:00
…
2021-01-30 13:32:11 +01:00
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…