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 /fs/lockd | |
parent | 501c1ed3fb5c2648ba1709282c71617910917f66 (diff) | |
download | blackbird-op-linux-5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79.tar.gz blackbird-op-linux-5bc74bef7c9b652f0f2aa9c5a8d5ac86881aba79.zip |
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>
Diffstat (limited to 'fs/lockd')
-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) int status; dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); - BUG_ON(nsm == NULL); if (nsm->sm_monitored) return 0; |