X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdc%2Fmdc_locks.c;h=182d5bc9af2a432338ef83796aa20479cfc4a535;hb=81754566a6fa01c77ea809050b574100bcd58dfc;hp=56f8188060990ac3c7d58385d31d2b0a495516f9;hpb=ac606470fe01743b1af98b29c07cadbd792c9614;p=fs%2Flustre-release.git diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 56f8188..182d5bc 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -243,7 +243,7 @@ int mdc_enqueue(struct obd_export *exp, reply_buffers = 3; req->rq_replen = lustre_msg_size(3, repsize); } else if (it->it_op & (IT_GETATTR | IT_LOOKUP | IT_CHDIR)) { - int valid = data->valid | OBD_MD_FLNOTOBD | OBD_MD_FLEASIZE; + __u64 valid = data->valid | OBD_MD_FLNOTOBD | OBD_MD_FLEASIZE; reqsize[req_buffers++] = sizeof(struct mds_body); reqsize[req_buffers++] = data->namelen + 1; @@ -375,7 +375,7 @@ int mdc_enqueue(struct obd_export *exp, struct mds_body *body; body = lustre_swab_repbuf(req, 1, sizeof (*body), - lustre_swab_mds_body); + lustre_swab_mds_body); if (body == NULL) { CERROR ("Can't swab mds_body\n"); RETURN (-EPROTO);