diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c index df5bc1e21e64415107611a6ff9c975827174083f..5fbd4a703759cc716abbd0c1fe9c5f8065a32f1d 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -250,7 +250,7 @@ int lov_quota_check(struct obd_export *exp, struct obd_quotactl *oqctl) } err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl); - if (err && lov->lov_tgts[i]->ltd_active && !rc) + if (err && !rc) rc = err; }