Move the transno update so it's done after we check for the -ENOTCONN
reply.
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
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)