From e13b3c3d02c6ec94201b25aaedbaced5fb6548a1 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 18 Aug 2005 23:20:46 +0000 Subject: [PATCH] Branch b1_4 Fix valid compiler warning of unset variables. b=7138 --- lustre/ost/ost_handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 9f43f5f..e081073 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -932,10 +932,10 @@ static int ost_set_info(struct obd_export *exp, struct ptlrpc_request *req) if (rc) RETURN(rc); - if (KEY_IS("evict_by_nid")) { - val = lustre_msg_buf(req->rq_reqmsg, 1, 1); - vallen = lustre_msg_buflen(req->rq_reqmsg,1); + val = lustre_msg_buf(req->rq_reqmsg, 1, 1); + vallen = lustre_msg_buflen(req->rq_reqmsg,1); + if (KEY_IS("evict_by_nid")) { if (val) obd_export_evict_by_nid(exp->exp_obd, val); -- 1.8.3.1