* GPL HEADER END
*/
/*
- * Copyright (c) 2011, 2012, Intel, Inc.
+ * Copyright (c) 2012, Intel Corporation.
* Use is subject to license terms.
*
* Author: Johann Lombardi <johann.lombardi@intel.com>
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);