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:
1251c59
)
b=9326
author
alex
<alex>
Wed, 14 Sep 2005 13:29:05 +0000
(13:29 +0000)
committer
alex
<alex>
Wed, 14 Sep 2005 13:29:05 +0000
(13:29 +0000)
- don't use req as we've lost our reference after ptlrpc_set_add_new_req()
lustre/ptlrpc/ptlrpcd.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/ptlrpcd.c
b/lustre/ptlrpc/ptlrpcd.c
index
b4eb13b
..
e36c9fb
100644
(file)
--- a/
lustre/ptlrpc/ptlrpcd.c
+++ b/
lustre/ptlrpc/ptlrpcd.c
@@
-90,10
+90,10
@@
void ptlrpcd_add_req(struct ptlrpc_request *req)
pc = &ptlrpcd_recovery_pc;
do_gettimeofday(&req->rq_rpcd_start);
- ptlrpc_set_add_new_req(pc->pc_set, req);
req->rq_ptlrpcd_data = pc;
+ ptlrpc_set_add_new_req(pc->pc_set, req);
-
ptlrpcd_wake(re
q);
+
wake_up(&pc->pc_wait
q);
}
static int ptlrpcd_check(struct ptlrpcd_ctl *pc)