From 58bfefc205e77568bc5487a143a6a90ec2d77379 Mon Sep 17 00:00:00 2001 From: anserper <anserper> Date: Fri, 19 Sep 2008 16:15:05 +0000 Subject: [PATCH] Branch b1_6 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 1e10b4eac9..fb060786c2 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) { -- GitLab