diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 2d3f29a9f8ad2f82210924da835393a22e4e08d3..349e2182b9354c0ec54b5a4867fc886e855683f8 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1229,7 +1229,8 @@ void ptlrpc_free_committed(struct obd_import *imp) DEBUG_REQ(D_HA, req, "keeping (FL_REPLAY), " "closed by x"LPD64"/t"LPD64, mod->mod_close_req->rq_xid, - mod->mod_close_req->rq_repmsg->transno); + mod->mod_close_req->rq_repmsg ? + mod->mod_close_req->rq_repmsg->transno : 0); continue; }