Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
995460b
)
Branch b_hd_newconfig
author
nathan
<nathan>
Thu, 27 Oct 2005 22:54:42 +0000
(22:54 +0000)
committer
nathan
<nathan>
Thu, 27 Oct 2005 22:54:42 +0000
(22:54 +0000)
b=9501
fix 'lctl net down' twice assert
lnet/lnet/module.c
patch
|
blob
|
history
diff --git
a/lnet/lnet/module.c
b/lnet/lnet/module.c
index
730608a
..
ea5fa02
100644
(file)
--- a/
lnet/lnet/module.c
+++ b/
lnet/lnet/module.c
@@
-58,8
+58,10
@@
lnet_unconfigure (void)
LNET_MUTEX_DOWN(&lnet_config_mutex);
- if (the_lnet.ln_niinit_self)
+ if (the_lnet.ln_niinit_self) {
+ the_lnet.ln_niinit_self = 0;
LNetNIFini();
+ }
LNET_MUTEX_DOWN(&the_lnet.ln_api_mutex);
refcount = the_lnet.ln_refcount;