Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c620f4d
)
Branch: b1_4
author
adilger
<adilger>
Thu, 28 Apr 2005 00:15:20 +0000
(
00:15
+0000)
committer
adilger
<adilger>
Thu, 28 Apr 2005 00:15:20 +0000
(
00:15
+0000)
Define the quota constants for
lustre/include/lustre/lustre_user.h
patch
|
blob
|
history
diff --git
a/lustre/include/lustre/lustre_user.h
b/lustre/include/lustre/lustre_user.h
index
64c951d
..
924e4fb
100644
(file)
--- a/
lustre/include/lustre/lustre_user.h
+++ b/
lustre/include/lustre/lustre_user.h
@@
-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 {