RETURN(-EPROTO);
}
- swabbed = ptlrpc_rep_need_swab(req);
+ swabbed = req_capsule_rep_need_swab(&req->rq_pill);
phdr = lustre_msg_buf(msg, PLAIN_PACK_HDR_OFF, sizeof(*phdr));
if (phdr == NULL) {
RETURN(SECSVC_DROP);
}
- swabbed = ptlrpc_req_need_swab(req);
+ swabbed = req_capsule_req_need_swab(&req->rq_pill);
phdr = lustre_msg_buf(msg, PLAIN_PACK_HDR_OFF, sizeof(*phdr));
if (phdr == NULL) {