From cae2977773fcf963b562507877a771f9e792e4fa Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 11 May 2005 11:48:14 +0000 Subject: [PATCH] - kernel_thread() returns pid on success. ptlrpc_connect_interpret() treated that as an error and broke the recovery state machine --- lustre/ptlrpc/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 52f3587..af772e7 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -643,7 +643,7 @@ 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); - RETURN(rc); + RETURN(rc < 0 ? rc : 0); #else ptlrpc_invalidate_import(imp, 1); -- 1.8.3.1