diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c index 97061cba2a403b456edc3c2124ad10341c1e2f84..62fc1f0cfb697972299d0bfe96b9ae4e8915fd2e 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -258,7 +258,7 @@ int lmv_quota_check(struct obd_device *unused, struct obd_export *exp, } err = obd_quotacheck(tgt->ltd_exp, oqctl); - if (err && tgt->ltd_active && !rc) + if (err && !rc) rc = err; } @@ -282,7 +282,7 @@ int lov_quota_check(struct obd_device *unused, struct obd_export *exp, } err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl); - if (err && lov->lov_tgts[i]->ltd_active && !rc) + if (err && !rc) rc = err; }