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

Always build quota support with client

lustre/lvfs/lustre_quota_fmt_convert.c

index 5df3138..de85f8b 100644 (file)
@@ -59,6 +59,8 @@
 #include <obd_support.h>
 #include "lustre_quota_fmt.h"
 
+#ifdef HAVE_QUOTA_SUPPORT
+
 static int admin_convert_dqinfo(struct file *fp_v1, struct file *fp_v2,
                                 struct lustre_quota_info *lqi, int type)
 {
@@ -300,4 +302,5 @@ out:
         return rc;
 }
 EXPORT_SYMBOL(lustre_slave_quota_convert);
-#endif
+#endif /* HAVE_QUOTA64 */
+#endif /* HAVE_QUOTA_SUPPORT */