projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501c1ed
)
NSM: Remove BUG_ON() in nsm_monitor()
author
Chuck Lever
<
[email protected]
>
Thu, 4 Dec 2008 19:21:08 +0000
(14:21 -0500)
committer
J. Bruce Fields
<
[email protected]
>
Tue, 6 Jan 2009 16:53:51 +0000
(11:53 -0500)
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 <
[email protected]
>
Signed-off-by: J. Bruce Fields <
[email protected]
>
fs/lockd/mon.c
patch
|
blob
|
history
diff --git
a/fs/lockd/mon.c
b/fs/lockd/mon.c
index 697bdcdd20cc712bb675d3f70c8388151c47dd07..bb5fc1bb37f7570973610a8895d42d25699bfba8 100644
(file)
--- 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;