Whamcloud - gitweb
Land b1_6_bug11013 onto HEAD (20070313_0924)
[fs/lustre-release.git] / lustre / ptlrpc / ptlrpc_module.c
index 7eb5a5d..29c34d3 100644 (file)
@@ -63,7 +63,10 @@ __init int ptlrpc_init(void)
                 RETURN(rc);
         cleanup_phase = 1;
 
-        ptlrpc_init_connection();
+        rc = ptlrpc_init_connection();
+        if (rc)
+                RETURN(rc);
+
         rc = llog_init_commit_master();
         if (rc)
                 GOTO(cleanup, rc);