Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Thu, 28 Apr 2005 00:15:20 +0000 (00:15 +0000)
committeradilger <adilger>
Thu, 28 Apr 2005 00:15:20 +0000 (00:15 +0000)
Define the quota constants for

lustre/include/lustre/lustre_user.h

index 64c951d..924e4fb 100644 (file)
@@ -170,6 +170,19 @@ struct if_dqblk {
 };
 #endif
 
+#ifndef QIF_BLIMITS
+#define QIF_BLIMITS     1
+#define QIF_SPACE       2
+#define QIF_ILIMITS     4
+#define QIF_INODES      8
+#define QIF_BTIME       16
+#define QIF_ITIME       32
+#define QIF_LIMITS      (QIF_BLIMITS | QIF_ILIMITS)
+#define QIF_USAGE       (QIF_SPACE | QIF_INODES)
+#define QIF_TIMES       (QIF_BTIME | QIF_ITIME)
+#define QIF_ALL         (QIF_LIMITS | QIF_USAGE | QIF_TIMES)
+#endif
+
 #endif /* !__KERNEL__ */
 
 struct if_quotactl {