Commit 962dc7ca authored by Trond Myklebust's avatar Trond Myklebust Committed by Xie XiuQi
Browse files

NFSv2: Fix eof handling



[ Upstream commit 71affe9b ]

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ed81ab75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment