From: alex Date: Wed, 16 Jun 2004 06:38:18 +0000 (+0000) Subject: b=3063 X-Git-Tag: v1_7_100~2226 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=21720182e1dc71ab2b228850c02936347d0f46aa;p=fs%2Flustre-release.git b=3063 - 2nd patch of the bug landed --- diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 9ef1d1d..5481a8f 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -658,6 +658,8 @@ int ptlrpc_check_set(struct ptlrpc_request_set *set) if (req->rq_waiting || req->rq_resend) { int status; + ptlrpc_unregister_reply(req); + spin_lock_irqsave(&imp->imp_lock, flags); if (ptlrpc_import_delay_req(imp, req, &status)){ @@ -690,7 +692,6 @@ int ptlrpc_check_set(struct ptlrpc_request_set *set) if (req->rq_resend) { lustre_msg_add_flags(req->rq_reqmsg, MSG_RESENT); - ptlrpc_unregister_reply(req); if (req->rq_bulk) { __u64 old_xid = req->rq_xid;