nfs4: Fix CID #1032257: ERR_DENIED is expected only when a cookie is given
This commit is contained in:
parent
04fa44c37e
commit
51fb559348
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user