Whamcloud - gitweb
LU-4017 quota: add project quota support to system header
[fs/lustre-release.git] / lustre / include / lustre / lustre_user.h
index 5a2fc74..f1e7fc4 100644 (file)
 #endif /* __KERNEL__ */
 #include <lustre/ll_fiemap.h>
 
+/*
+ * This is a temporary solution of adding quota type.
+ * Should be removed as soon as system header is updated.
+ */
+#undef LL_MAXQUOTAS
+#define LL_MAXQUOTAS 2
+#undef INITQFNAMES
+#define INITQFNAMES { \
+    "user",    /* USRQUOTA */ \
+    "group",   /* GRPQUOTA */ \
+    "project", /* PRJQUOTA */ \
+    "undefined", \
+};
+#define PRJQUOTA 2
+
 #if defined(__x86_64__) || defined(__ia64__) || defined(__ppc64__) || \
     defined(__craynv) || defined(__mips64__) || defined(__powerpc64__) || \
     defined(__aarch64__)