X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fclient.c;h=92979c07de3f8837d35e32d3ada875602ba7d6da;hp=d87ea317c81d9d17f51df5449e91bcad1dab0aed;hb=56bb088c328b4f987bee7c7809dfb35bc8fb6f4a;hpb=8d9bd82d128d163a38509b0c5a281e661268e76b diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index d87ea31..92979c0 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -197,6 +197,7 @@ struct ptlrpc_request *ptlrpc_prep_req(struct obd_import *imp, int opcode, spin_unlock(&conn->c_lock); request->rq_reqmsg->magic = PTLRPC_MSG_MAGIC; + request->rq_reqmsg->version = PTLRPC_MSG_VERSION; request->rq_reqmsg->opc = HTON__u32(opcode); request->rq_reqmsg->flags = 0;