Skip to content
Snippets Groups Projects
Commit cae29777 authored by alex's avatar alex
Browse files

- kernel_thread() returns pid on success. ptlrpc_connect_interpret() treated

  that as an error and broke the recovery state machine
parent 54028ab8
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment