From: anserper Date: Tue, 30 Sep 2008 11:56:06 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_110~1^44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a8e3919e5d6dd33e01273316a214484bed4a9e7b;p=fs%2Flustre-release.git Branch b1_8_gate b=17059 i=ZhiYong Tian i=Johann Lombardi Always build quota support with client --- 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