]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't set ND_NOMOREDATA for a failed Setattr operation (NFSv4).
authorrmacklem <rmacklem@FreeBSD.org>
Fri, 21 Apr 2017 23:01:32 +0000 (23:01 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Fri, 21 Apr 2017 23:01:32 +0000 (23:01 +0000)
commit578c7c96269d382827f4fb7d48ba0e7d0f02ce33
tree8b372e5505bae99ae29e78512a9e3588f18673ae
parenta6e21c94534afee426c7ba9f30ccaeb0cbca05e3
Don't set ND_NOMOREDATA for a failed Setattr operation (NFSv4).

The NFSv4 Setattr operation always has reply data even when it fails,
so don't set the ND_NOMOREDATA for it. This would only affect unusual
cases where Setattr fails and the RPC code wants to parse the rest of
the compound. Detected during recent development related to the pNFS server.

MFC after: 2 weeks
sys/fs/nfs/nfs_commonkrpc.c