From 8ec0362f1216d9cef5aa01a3e7ff91d0155d3219 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 27 May 2005 11:30:57 +0000 Subject: [PATCH] Branch b1_4 Don't return an "error" (pid) from ptlrpc_import_recovery_state_machine() from kernel_thread(). r=alex (original fix) --- lustre/ptlrpc/import.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 0194ade..0f97ebb 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -280,7 +280,7 @@ static int import_select_connection(struct obd_import *imp) class_export_put(dlmexp); imp->imp_conn_current = imp_conn; - CDEBUG(D_NET, "%s: import %p using connection %s\n", + CDEBUG(D_HA, "%s: import %p using connection %s\n", imp->imp_obd->obd_name, imp, imp_conn->oic_uuid.uuid); spin_unlock(&imp->imp_lock); @@ -643,6 +643,8 @@ int ptlrpc_import_recovery_state_machine(struct obd_import *imp) CLONE_VM | CLONE_FILES); if (rc < 0) CERROR("error starting invalidate thread: %d\n", rc); + else + rc = 0; RETURN(rc); #else ptlrpc_invalidate_import(imp); -- 1.8.3.1