req->rq_receiving_reply = 1;
} else {
/* Real reply */
+ req->rq_rep_swab_mask = 0;
req->rq_replied = 1;
req->rq_nob_received = ev->mlength;
/* repmsg points to real reply */
return pb->pb_flags;
}
default:
- CERROR("Wrong magic %x\n", msg->lm_magic);
+ CERROR("incorrect message magic: %08x\n", msg->lm_magic);
/* flags might be printed in debug code while message
* uninitialized */
return 0;
{
switch (msg->lm_magic) {
case LUSTRE_MSG_MAGIC_V1:
- case LUSTRE_MSG_MAGIC_V1_SWABBED:
return ((struct lustre_msg_v1 *)msg)->lm_status;
- case LUSTRE_MSG_MAGIC_V2:
- case LUSTRE_MSG_MAGIC_V2_SWABBED: {
+ case LUSTRE_MSG_MAGIC_V2: {
struct ptlrpc_body *pb;
pb = lustre_msg_buf_v2(msg, MSG_PTLRPC_BODY_OFF, sizeof(*pb));