From 78d271a72e77ecd2348f4fc120a9e86d72089b2f Mon Sep 17 00:00:00 2001 From: johann Date: Tue, 13 Oct 2009 23:15:05 +0000 Subject: [PATCH] Branch b1_8 b=19763 fix compile issue on non ext4-based ldiskfs. --- lustre/lvfs/fsfilt_ext3.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index e12bdf7..91106b5 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -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; -- 1.8.3.1