From: nathan Date: Tue, 11 Oct 2005 19:26:40 +0000 (+0000) Subject: Branch b_hd_newconfig X-Git-Tag: v1_7_100~1^25~6^2~103 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ce92cb142de12dedb02f8cd595418617a0f83db0;p=fs%2Flustre-release.git Branch b_hd_newconfig r=eeb only drop self-reference on error, not already-initted return value --- diff --git a/lnet/lnet/module.c b/lnet/lnet/module.c index 8541ea6..69e9003 100644 --- 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);