From ce92cb142de12dedb02f8cd595418617a0f83db0 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 11 Oct 2005 19:26:40 +0000 Subject: [PATCH] Branch b_hd_newconfig r=eeb only drop self-reference on error, not already-initted return value --- lnet/lnet/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1