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:
657918a
)
Branch b1_8_gate
author
anserper
<anserper>
Tue, 30 Sep 2008 11:55:59 +0000
(11:55 +0000)
committer
anserper
<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
patch
|
blob
|
history
diff --git
a/lustre/include/lustre_quota.h
b/lustre/include/lustre_quota.h
index
77fdb73
..
ee1d0a1
100644
(file)
--- a/
lustre/include/lustre_quota.h
+++ b/
lustre/include/lustre_quota.h
@@
-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 {\