Skip to content
Snippets Groups Projects
Commit d024c27c authored by Robert Read's avatar Robert Read
Browse files

b=3892

Move the transno update so it's done after we check for the -ENOTCONN
reply.
parent b717cd5b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment