From: adilger Date: Tue, 29 Oct 2002 07:52:43 +0000 (+0000) Subject: Quiet compiler warning. X-Git-Tag: 0.5.16~95 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=bb184335a8e3648e684b69c5ff6beb1fe720bc7a;p=fs%2Flustre-release.git Quiet compiler warning. --- diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 2be26cc..0378840 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -170,7 +170,7 @@ static int ost_punch(struct ptlrpc_request *req) body = lustre_msg_buf(req->rq_reqmsg, 0); - if (NTOH__u32(body->oa.o_valid) & (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS) != + if ((NTOH__u32(body->oa.o_valid) & (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS))!= (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS)) RETURN(-EINVAL);