X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Fosc_request.c;h=a00185f085a45aa397760d60957879ae2fa08fa9;hp=38c67182466f084656957fefac7eb3bbccd8d056;hb=62499626b81f83f9e2ceceaa11d9b33861581cb6;hpb=0614a7d7a5f59f87d22df5ea7c268bd18c0a3a8e diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 38c6718..a00185f 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -950,7 +950,7 @@ static int check_write_rcs(struct ptlrpc_request *req, CDEBUG(D_INFO, "Missing/short RC vector on BRW_WRITE reply\n"); return(-EPROTO); } - if (lustre_rep_need_swab(req)) + if (lustre_msg_swabbed(req->rq_repmsg)) for (i = 0; i < niocount; i++) __swab32s(&remote_rcs[i]);