X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fptlrpc%2Frecov_thread.c;h=305789f470e406afc8cb0e94ecfd7c0ab677c627;hb=03c4552711e0fa2c0b35fe2a2c985ce117714fb9;hp=1dc989b3d13c8c0ff95ca1ae0f80bf7f48241fea;hpb=b5b6224b227ca816fc40739741f0c37364db6677;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 1dc989b..305789f 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -368,9 +368,9 @@ static int log_commit_thread(void *arg) ptlrpc_req_finished(request); continue; } + up(&llcd->llcd_ctxt->loc_sem); rc = ptlrpc_queue_wait(request); ptlrpc_req_finished(request); - up(&llcd->llcd_ctxt->loc_sem); /* If the RPC failed, we put this and the remaining * messages onto the resend list for another time. */