Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Tue, 13 Oct 2009 23:15:05 +0000 (23:15 +0000)
committerjohann <johann>
Tue, 13 Oct 2009 23:15:05 +0000 (23:15 +0000)
b=19763

fix compile issue on non ext4-based ldiskfs.

lustre/lvfs/fsfilt_ext3.c

index e12bdf7..91106b5 100644 (file)
@@ -2030,7 +2030,11 @@ static int fsfilt_ext3_quotacheck(struct super_block *sb,
                 }
         }
 
+#ifdef HAVE_EXT4_LDISKFS
         if (EXT3_HAS_RO_COMPAT_FEATURE(sb, EXT3_FEATURE_RO_COMPAT_GDT_CSUM))
+#else
+        if (EXT3_HAS_RO_COMPAT_FEATURE(sb, EXT4_FEATURE_RO_COMPAT_GDT_CSUM))
+#endif
                 /* This filesystem supports the uninit group feature */
                 uninit_feat = 1;