From 4a4020b5cde1a7f8673d2bfdde616b79454271db Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 2 Sep 2008 21:13:14 +0000 Subject: [PATCH] b=16890 i=Alexander Zarochentsev (alexander.zarochentsev@sun.com) i=ZhiYong Tian (tianzy@sun.com) fix HAVE_QUOTA_SUPPORT usage --- lustre/lvfs/fsfilt_ext3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index 415c298..d732549 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -1423,7 +1423,7 @@ static int fsfilt_ext3_setup(struct super_block *sb) #endif if (!EXT3_HAS_COMPAT_FEATURE(sb, EXT3_FEATURE_COMPAT_DIR_INDEX)) CWARN("filesystem doesn't have dir_index feature enabled\n"); -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)) && HAVE_QUOTA_SUPPORT +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)) && defined(HAVE_QUOTA_SUPPORT) /* enable journaled quota support */ /* kfreed in ext3_put_super() */ sbi->s_qf_names[USRQUOTA] = kstrdup("lquota.user.reserved", GFP_KERNEL); -- 1.8.3.1