X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmds%2Fhandler.c;h=5f2e1d3edba6dd77a05032cb529ed0fa8064defb;hb=8b92a57d48878188dc4fe7ea1438a403f7b486a7;hp=70116ff796e3b098b33b3a73b0037d6a39fd29d1;hpb=75684bba932e1f6100bb30b85415e41c78b9cd44;p=fs%2Flustre-release.git diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 70116ff..5f2e1d3 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -342,7 +342,7 @@ static int mds_getstatus(struct ptlrpc_request *req) /* mcd_last_xid is is stored in little endian on the disk and mds_pack_rep_body converts it to network order */ - body->last_xid = le32_to_cpu(med->med_mcd->mcd_last_xid); + req->rq_repmsg->last_xid = le32_to_cpu(med->med_mcd->mcd_last_xid); mds_pack_rep_body(req); RETURN(0); } @@ -951,7 +951,7 @@ int mds_handle(struct ptlrpc_request *req) if (!rc) { struct mds_obd *mds = mds_req2mds(req); - req->rq_repmsg->last_rcvd = HTON__u64(mds->mds_last_rcvd); + req->rq_repmsg->last_xid = HTON__u64(mds->mds_last_rcvd); req->rq_repmsg->last_committed = HTON__u64(mds->mds_last_committed); CDEBUG(D_INFO, "last_rcvd %Lu, last_committed %Lu, xid %d\n",