]> www.infradead.org Git - users/dwmw2/linux.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:18:36 +0000 (07:18 +0200)
commit646d295fdded37e69b81652a8c89e9d9c0c58f93
tree3c35d898e81c95a4ad5ddeb1026db67ded3807e4
parent16986c7cf8b5fc2ca5bcf6b3dc84c4e3dac504e1
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