From 2e8bd81243742b980b93bcc29da14f8a5846406b Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 30 Sep 2008 11:56:17 +0000 Subject: [PATCH] Branch b1_8_gate b=17059 i=ZhiYong Tian i=Johann Lombardi Always build quota support with client --- lustre/quota/quota_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c index 0d95970..af51af2 100644 --- a/lustre/quota/quota_context.c +++ b/lustre/quota/quota_context.c @@ -61,6 +61,8 @@ #include #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 */ -- 1.8.3.1