Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c570c
)
Branch b1_4
author
adilger
<adilger>
Thu, 18 Aug 2005 23:20:46 +0000
(23:20 +0000)
committer
adilger
<adilger>
Thu, 18 Aug 2005 23:20:46 +0000
(23:20 +0000)
Fix valid compiler warning of unset variables.
b=7138
lustre/ost/ost_handler.c
patch
|
blob
|
history
diff --git
a/lustre/ost/ost_handler.c
b/lustre/ost/ost_handler.c
index
9f43f5f
..
e081073
100644
(file)
--- 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);