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:
9f9f52d
)
Branch b_hd_newconfig
author
nathan
<nathan>
Tue, 11 Oct 2005 19:26:40 +0000
(19:26 +0000)
committer
nathan
<nathan>
Tue, 11 Oct 2005 19:26:40 +0000
(19:26 +0000)
r=eeb
only drop self-reference on error, not already-initted return value
lnet/lnet/module.c
patch
|
blob
|
history
diff --git
a/lnet/lnet/module.c
b/lnet/lnet/module.c
index
8541ea6
..
69e9003
100644
(file)
--- a/
lnet/lnet/module.c
+++ b/
lnet/lnet/module.c
@@
-80,7
+80,7
@@
lnet_configure (void *arg)
LNET_MUTEX_UP(&the_lnet.ln_api_mutex);
rc = LNetNIInit(LUSTRE_SRV_LNET_PID);
- if (rc
!=
0) {
+ if (rc
<
0) {
LNET_MUTEX_DOWN(&the_lnet.ln_api_mutex);
the_lnet.ln_niinit_self = 0;
LNET_MUTEX_UP(&the_lnet.ln_api_mutex);