From a8e3919e5d6dd33e01273316a214484bed4a9e7b Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 30 Sep 2008 11:56:06 +0000 Subject: [PATCH] Branch b1_8_gate b=17059 i=ZhiYong Tian i=Johann Lombardi Always build quota support with client --- lustre/lvfs/lustre_quota_fmt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/lvfs/lustre_quota_fmt.c b/lustre/lvfs/lustre_quota_fmt.c index 880ee5d..e168c99 100644 --- a/lustre/lvfs/lustre_quota_fmt.c +++ b/lustre/lvfs/lustre_quota_fmt.c @@ -39,7 +39,6 @@ * from linux/fs/quota_v2.c */ - #ifndef EXPORT_SYMTAB # define EXPORT_SYMTAB #endif @@ -60,6 +59,8 @@ #include #include "lustre_quota_fmt.h" +#ifdef HAVE_QUOTA_SUPPORT + static const uint lustre_initqversions[][MAXQUOTAS] = { [LUSTRE_QUOTA_V1] = LUSTRE_INITQVERSIONS, [LUSTRE_QUOTA_V2] = LUSTRE_INITQVERSIONS_V2 @@ -1108,3 +1109,4 @@ EXPORT_SYMBOL(lustre_read_dquot); EXPORT_SYMBOL(lustre_commit_dquot); EXPORT_SYMBOL(lustre_init_quota_info); EXPORT_SYMBOL(lustre_get_qids); +#endif -- 1.8.3.1