Commit 35576cba authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NLM: nlmclnt_cancel_callback should accept NLM_LCK_DENIED errors



NLM_LCK_DENIED is a valid error return for an NLM_CANCEL call by the
client.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 4c060b53
......@@ -750,6 +750,7 @@ static void nlmclnt_cancel_callback(struct rpc_task *task, void *data)
switch (req->a_res.status) {
case NLM_LCK_GRANTED:
case NLM_LCK_DENIED_GRACE_PERIOD:
case NLM_LCK_DENIED:
/* Everything's good */
break;
case NLM_LCK_DENIED_NOLOCKS:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment