X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_reint.c;h=eefc3c1dbafdc84203f751fc21de0e1c1151f76d;hp=adac87f8f21522470c9d97a4f83993130e203fba;hb=6ecab5f514a1307c833967741003bca02dd533ff;hpb=aecfa9234dc6d3f6e56d2039b1c7d1c90e11832d diff --git a/lustre/quota/qsd_reint.c b/lustre/quota/qsd_reint.c index adac87f..eefc3c1 100644 --- a/lustre/quota/qsd_reint.c +++ b/lustre/quota/qsd_reint.c @@ -636,6 +636,10 @@ int qsd_start_reint_thread(struct qsd_qtype_info *qqi) if (!qsd_type_enabled(qqi->qqi_qsd, qqi->qqi_qtype)) RETURN(0); + if (qqi->qqi_qsd->qsd_acct_failed) + /* no space accounting support, can't enable enforcement */ + RETURN(0); + /* check if the reintegration has already started or finished */ write_lock(&qsd->qsd_lock);