From 8cc8aa2c97ccd05c8e02ed0450a728f79d61b71c Mon Sep 17 00:00:00 2001 From: anserper Date: Fri, 19 Sep 2008 16:17:34 +0000 Subject: [PATCH] Branch b1_8_gate b=16706 i=Johann Lombardi i=ZhiYong Tian Fix missing error check --- lustre/quota/quota_ctl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/quota/quota_ctl.c b/lustre/quota/quota_ctl.c index 1e10b4e..fb06078 100644 --- 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) { -- 1.8.3.1