From: anserper Date: Tue, 30 Sep 2008 11:56:16 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_110~1^51 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ee4c3244dfbd59f17d22504d3445ae1129201660;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/quota/quota_check.c b/lustre/quota/quota_check.c index 468391a..edc70f3 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -33,6 +33,8 @@ * This file is part of Lustre, http://www.lustre.org/ * Lustre is a trademark of Sun Microsystems, Inc. */ + + #ifndef EXPORT_SYMTAB # define EXPORT_SYMTAB #endif @@ -63,6 +65,7 @@ #include #include "quota_internal.h" +#ifdef HAVE_QUOTA_SUPPORT #ifdef __KERNEL__ static int target_quotacheck_callback(struct obd_export *exp, struct obd_quotactl *oqctl) @@ -168,6 +171,7 @@ out: } #endif /* __KERNEL__ */ +#endif /* HAVE_QUOTA_SUPPORT */ int client_quota_check(struct obd_export *exp, struct obd_quotactl *oqctl) {