If the request has failed, the repmsg processing in osc_quotactl
should be skipped.
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I0f4c6db93888b1000e6993411aeb3a147f05f5db
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56438
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
if (rc)
CERROR("ptlrpc_queue_wait failed, rc: %d\n", rc);
- if (req->rq_repmsg) {
+ if (rc == 0 && req->rq_repmsg) {
struct list_head *lst = (struct list_head *)oqctl->qc_iter_list;
oqc = req_capsule_server_get(&req->rq_pill, &RMF_OBD_QUOTACTL);