From d024c27c3637d31cbf9f11d3997eac56a3c450ad Mon Sep 17 00:00:00 2001 From: rread <rread> Date: Thu, 22 Jul 2004 17:43:21 +0000 Subject: [PATCH] b=3892 Move the transno update so it's done after we check for the -ENOTCONN reply. --- lustre/ptlrpc/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index fe9f6277f8..8540c9ff40 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -481,9 +481,6 @@ static int after_reply(struct ptlrpc_request *req) RETURN(-EPROTO); } - /* Store transno in reqmsg for replay. */ - req->rq_reqmsg->transno = req->rq_transno = req->rq_repmsg->transno; - rc = ptlrpc_check_status(req); /* Either we've been evicted, or the server has failed for @@ -500,6 +497,9 @@ static int after_reply(struct ptlrpc_request *req) RETURN(rc); } + /* Store transno in reqmsg for replay. */ + req->rq_reqmsg->transno = req->rq_transno = req->rq_repmsg->transno; + if (req->rq_import->imp_replayable) { spin_lock_irqsave(&imp->imp_lock, flags); if (req->rq_replay || req->rq_transno != 0) -- GitLab