OSDN Git Service

NFSv2: Fix eof handling
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 00:41:16 +0000 (20:41 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 14:24:56 +0000 (10:24 -0400)
commit71affe9be45a5c60b9772e1b2701710712637274
tree482ce7d426e1cfaef2a8c1c9c09b8d4de9f9a59b
parent96c4145599b30c0eb6cbeaa24207802452dd1872
NFSv2: Fix eof handling

If we received a reply from the server with a zero length read and
no error, then that implies we are at eof.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/proc.c