aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/clntproc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:41 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:41 -0500
commit35576cba57f1c042b87d6586b3229d13067264c6 (patch)
tree705718c559911986647db9f95ad3cff85cffcff8 /fs/lockd/clntproc.c
parent4c060b531006e0711db32a132d6ac7661594b280 (diff)
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/clntproc.c')
-rw-r--r--fs/lockd/clntproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c
index 3e90356b4882..c25044f3b660 100644
--- a/fs/lockd/clntproc.c
+++ b/fs/lockd/clntproc.c
@@ -750,6 +750,7 @@ static void nlmclnt_cancel_callback(struct rpc_task *task, void *data)
750 switch (req->a_res.status) { 750 switch (req->a_res.status) {
751 case NLM_LCK_GRANTED: 751 case NLM_LCK_GRANTED:
752 case NLM_LCK_DENIED_GRACE_PERIOD: 752 case NLM_LCK_DENIED_GRACE_PERIOD:
753 case NLM_LCK_DENIED:
753 /* Everything's good */ 754 /* Everything's good */
754 break; 755 break;
755 case NLM_LCK_DENIED_NOLOCKS: 756 case NLM_LCK_DENIED_NOLOCKS: