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:
b19483d
)
Branch b1_8_gate
author
anserper
<anserper>
Fri, 19 Sep 2008 16:17:34 +0000
(16:17 +0000)
committer
anserper
<anserper>
Fri, 19 Sep 2008 16:17:34 +0000
(16:17 +0000)
b=16706
i=Johann Lombardi
i=ZhiYong Tian
Fix missing error check
lustre/quota/quota_ctl.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_ctl.c
b/lustre/quota/quota_ctl.c
index
1e10b4e
..
fb06078
100644
(file)
--- a/
lustre/quota/quota_ctl.c
+++ b/
lustre/quota/quota_ctl.c
@@
-282,6
+282,11
@@
int client_quota_ctl(struct obd_export *exp, struct obd_quotactl *oqctl)
ptlrpc_req_set_repsize(req, 2, size);
rc = ptlrpc_queue_wait(req);
+ if (rc) {
+ CERROR("ptlrpc_queue_wait failed, rc: %d\n", rc);
+ GOTO(out, rc);
+ }
+
oqc = lustre_swab_repbuf(req, REPLY_REC_OFF, sizeof(*oqc),
lustre_swab_obd_quotactl);
if (oqc == NULL) {