From 21720182e1dc71ab2b228850c02936347d0f46aa Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 16 Jun 2004 06:38:18 +0000 Subject: [PATCH] b=3063 - 2nd patch of the bug landed --- lustre/ptlrpc/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.8.3.1