Whamcloud - gitweb
Branch b1_8
authortianzy <tianzy>
Mon, 8 Sep 2008 06:53:13 +0000 (06:53 +0000)
committertianzy <tianzy>
Mon, 8 Sep 2008 06:53:13 +0000 (06:53 +0000)
lfs lacks quota support if building with confiugre --disable-modules
b=16481
i=shadow
i=rread

lustre/lvfs/lustre_quota_fmt.h

index 93a8945..a9fbcfc 100644 (file)
@@ -41,6 +41,8 @@
 #ifndef _LUSTRE_QUOTA_FMT_H
 #define _LUSTRE_QUOTA_FMT_H
 
+#ifdef HAVE_QUOTA_SUPPORT
+
 #include <linux/types.h>
 #include <linux/quota.h>
 
@@ -222,3 +224,4 @@ int lustre_quota_convert(struct lustre_quota_info *lqi, int type);
 #define LUSTRE_OPQFILES_NAMES { { "lquota.user", "lquota.group" }, \
                                 { "lquota_v2.user", "lquota_v2.group" } }
 #endif                          /* lustre_quota_fmt.h */
+#endif