diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-04 14:21:08 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:51 -0500 |
commit | 5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79 (patch) | |
tree | 476bb3b039e814e46f2675933a88470781fec5f2 | |
parent | 501c1ed3fb5c2648ba1709282c71617910917f66 (diff) |
NSM: Remove BUG_ON() in nsm_monitor()
Clean up: Remove the BUG_ON() invocation in nsm_monitor(). It's not
likely that nsm_monitor() is ever called with a NULL host pointer, and
the code will die anyway if host is NULL.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r-- | fs/lockd/mon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 697bdcdd20cc..bb5fc1bb37f7 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -80,7 +80,6 @@ nsm_monitor(struct nlm_host *host) | |||
80 | int status; | 80 | int status; |
81 | 81 | ||
82 | dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); | 82 | dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); |
83 | BUG_ON(nsm == NULL); | ||
84 | 83 | ||
85 | if (nsm->sm_monitored) | 84 | if (nsm->sm_monitored) |
86 | return 0; | 85 | return 0; |