nfs4: Fix CID #1032257: ERR_DENIED is expected only when a cookie is given

This commit is contained in:
Pawel Dziepak 2013-06-13 11:28:26 +02:00
parent 04fa44c37e
commit 51fb559348

View File

@ -60,6 +60,9 @@ NFS4Object::HandleErrors(uint32& attempt, uint32 nfs4Error, RPC::Server* server,
// resource is locked, we need to wait
case NFS4ERR_DENIED:
if (cookie == NULL)
return false;
if (sequence != NULL)
fFileSystem->OpenOwnerSequenceUnlock(*sequence);