From dc0bb5fdaa280bf2332f4ef71f4c6bba372f29b5 Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 30 Sep 2008 11:56:15 +0000 Subject: [PATCH] Branch b1_8_gate b=17059 i=ZhiYong Tian i=Johann Lombardi Always build quota support with client --- lustre/quota/quota_adjust_qunit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/quota/quota_adjust_qunit.c b/lustre/quota/quota_adjust_qunit.c index 206cb45..2cf0639 100644 --- a/lustre/quota/quota_adjust_qunit.c +++ b/lustre/quota/quota_adjust_qunit.c @@ -67,6 +67,8 @@ #include #include "quota_internal.h" +#ifdef HAVE_QUOTA_SUPPORT + #ifdef __KERNEL__ /* this function is charge of recording lqs_ino_rec and * lqs_blk_rec. when a lquota slave checks a quota @@ -346,6 +348,7 @@ int filter_quota_adjust_qunit(struct obd_export *exp, RETURN(rc); } #endif /* __KERNEL__ */ +#endif int client_quota_adjust_qunit(struct obd_export *exp, struct quota_adjust_qunit *oqaq, -- 1.8.3.1