Whamcloud - gitweb
Branch b1_8_gate
authoranserper <anserper>
Tue, 30 Sep 2008 11:56:15 +0000 (11:56 +0000)
committeranserper <anserper>
Tue, 30 Sep 2008 11:56:15 +0000 (11:56 +0000)
b=17059
i=ZhiYong Tian
i=Johann Lombardi

Always build quota support with client

lustre/quota/quota_adjust_qunit.c

index 206cb45..2cf0639 100644 (file)
@@ -67,6 +67,8 @@
 #include <class_hash.h>
 #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,