diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 7320f81698696e9af5285d1437ddfc6e57998653..6b05e5bc1b317623282b5339cd0828a7a713f335 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -705,7 +705,8 @@ static int ptlrpc_at_send_early_reply(struct ptlrpc_request *req, /* RPC ref */ class_export_rpc_get(reqcopy->rq_export); - if (req->rq_export->exp_obd && req->rq_export->exp_obd->obd_fail) + if (reqcopy->rq_export->exp_obd && + reqcopy->rq_export->exp_obd->obd_fail) GOTO(out_put, rc = -ENODEV); rc = lustre_pack_reply_flags(reqcopy, 1, NULL, NULL, LPRFL_EARLY_REPLY);