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:
40b90f9
)
Branch b1_8_gate
author
anserper
<anserper>
Tue, 30 Sep 2008 11:56:17 +0000
(11:56 +0000)
committer
anserper
<anserper>
Tue, 30 Sep 2008 11:56:17 +0000
(11:56 +0000)
b=17059
i=ZhiYong Tian
i=Johann Lombardi
Always build quota support with client
lustre/quota/quota_context.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_context.c
b/lustre/quota/quota_context.c
index
0d95970
..
af51af2
100644
(file)
--- a/
lustre/quota/quota_context.c
+++ b/
lustre/quota/quota_context.c
@@
-61,6
+61,8
@@
#include <lprocfs_status.h>
#include "quota_internal.h"
+#ifdef HAVE_QUOTA_SUPPORT
+
static lustre_hash_ops_t lqs_hash_ops;
unsigned long default_bunit_sz = 128 * 1024 * 1024; /* 128M bytes */
@@
-1280,6
+1282,7
@@
exit:
EXIT;
}
+
/*
* lqs<->qctxt hash operations
*/
@@
-1374,3
+1377,4
@@
static lustre_hash_ops_t lqs_hash_ops = {
.lh_put = lqs_put,
.lh_exit = lqs_exit
};
+#endif /* HAVE_QUOTA_SUPPORT */