Whamcloud - gitweb
LU-2766 llite: don't ignore layout for group lock request
[fs/lustre-release.git] / lustre / quota / qsd_config.c
index feddff4..06e566e 100644 (file)
@@ -21,7 +21,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2012, 2013, Intel Corporation.
+ * Copyright (c) 2012, 2014, Intel Corporation.
  * Use is subject to license terms.
  *
  * Author: Johann Lombardi <johann.lombardi@intel.com>
@@ -198,7 +198,7 @@ int qsd_process_config(struct lustre_cfg *lcfg)
                                continue;
                        }
 
-                       for (type = USRQUOTA; type < MAXQUOTAS; type++) {
+                       for (type = USRQUOTA; type < LL_MAXQUOTAS; type++) {
                                qqi = qsd->qsd_type_array[type];
                                qsd_start_reint_thread(qqi);
                        }