]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv2: Fix eof handling
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 27 Aug 2019 00:41:16 +0000 (20:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:15:37 +0000 (07:15 +0200)
commitcb8b1858f25b87fd0d705822795fb6f7ef98b2ed
tree87101fc3b4f0569553f4e064907820102020b5ae
parent01b7134efc9ce1082c3607cad72981d0e2097a6b
NFSv2: Fix eof handling

[ Upstream commit 71affe9be45a5c60b9772e1b2701710712637274 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/proc.c