Skip to content
Snippets Groups Projects
Commit 58bfefc2 authored by Andrew Perepechko's avatar Andrew Perepechko
Browse files

Branch b1_6

b=16706
i=Johann Lombardi
i=ZhiYong Tian

Fix missing error check
parent 255a27b3
No related branches found
No related tags found
No related merge requests found
...@@ -282,6 +282,11 @@ int client_quota_ctl(struct obd_export *exp, struct obd_quotactl *oqctl) ...@@ -282,6 +282,11 @@ int client_quota_ctl(struct obd_export *exp, struct obd_quotactl *oqctl)
ptlrpc_req_set_repsize(req, 2, size); ptlrpc_req_set_repsize(req, 2, size);
rc = ptlrpc_queue_wait(req); 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), oqc = lustre_swab_repbuf(req, REPLY_REC_OFF, sizeof(*oqc),
lustre_swab_obd_quotactl); lustre_swab_obd_quotactl);
if (oqc == NULL) { if (oqc == NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment