X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fost%2Fost_handler.c;h=d82ca414f69b24ce8880806a42cf5b150b458d40;hp=c6cd630fe935fd174714aa84ba0e35d9a26fec0a;hb=1fd3e8e08c033b88c2cbbc261ba6405b528c40af;hpb=dea72cdb5ce72eda8515da507ab604eb36c69550 diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index c6cd630..d82ca41 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -1200,8 +1200,10 @@ static int ost_set_info(struct obd_export *exp, struct ptlrpc_request *req) if (KEY_IS(KEY_EVICT_BY_NID)) { if (val && vallen) obd_export_evict_by_nid(exp->exp_obd, val); - GOTO(out, rc = 0); + } else if (KEY_IS(KEY_MDS_CONN) && lustre_msg_swabbed(req->rq_reqmsg)) { + /* Val's are not swabbed automatically */ + __swab32s((__u32 *)val); } rc = obd_set_info_async(exp, keylen, key, vallen, val, NULL);