aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r--fs/nfsd/nfs4callback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 9d536a8cb379..a9735a672963 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -395,8 +395,7 @@ nfsd4_probe_callback(struct nfs4_client *clp)
395 }; 395 };
396 struct task_struct *t; 396 struct task_struct *t;
397 397
398 if (atomic_read(&cb->cb_set)) 398 BUG_ON(atomic_read(&clp->cl_callback.cb_set));
399 return;
400 399
401 /* Initialize address */ 400 /* Initialize address */
402 memset(&addr, 0, sizeof(addr)); 401 memset(&addr, 0, sizeof(addr));