Whamcloud - gitweb
Branch b1_8_gate
authoranserper <anserper>
Tue, 30 Sep 2008 11:55:59 +0000 (11:55 +0000)
committeranserper <anserper>
Tue, 30 Sep 2008 11:55:59 +0000 (11:55 +0000)
b=17059
i=ZhiYong Tian
i=Johann Lombardi

Always build quota support with client

lustre/include/lustre_quota.h

index 77fdb73..ee1d0a1 100644 (file)
@@ -653,6 +653,19 @@ static inline int lquota_pending_commit(quota_interface_t *interface,
 extern quota_interface_t osc_quota_interface;
 extern quota_interface_t mdc_quota_interface;
 extern quota_interface_t lov_quota_interface;
+
+#ifndef MAXQUOTAS
+#define MAXQUOTAS 2
+#endif
+
+#ifndef USRQUOTA
+#define USRQUOTA 0
+#endif
+
+#ifndef GRPQUOTA
+#define GRPQUOTA 1
+#endif
+
 #endif
 
 #define LUSTRE_ADMIN_QUOTAFILES_V1 {\