Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcdec9d
)
b=6398
author
alex
<alex>
Thu, 26 May 2005 17:05:54 +0000
(17:05 +0000)
committer
alex
<alex>
Thu, 26 May 2005 17:05:54 +0000
(17:05 +0000)
- additional assert
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
51037c9
..
72f81ee
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-1402,9
+1402,10
@@
int target_start_recovery_thread(struct obd_device *obd, svc_handler_t handler)
init_completion(&trd->trd_finishing);
trd->trd_recovery_handler = handler;
- if (kernel_thread(target_recovery_thread, obd, 0) > 0)
+ if (kernel_thread(target_recovery_thread, obd, 0) > 0)
{
wait_for_completion(&trd->trd_starting);
- else
+ LASSERT(obd->obd_recovering != 0);
+ } else
rc = -ECHILD;
return rc;