From 41c4d2543958c8ddb08da0c0dbecb7941267e992 Mon Sep 17 00:00:00 2001 From: anserper <anserper> Date: Tue, 2 Sep 2008 21:11:14 +0000 Subject: [PATCH] Branch HEAD 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 4d43591624..dd7292d2e5 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -1325,7 +1325,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,13)) && HAVE_QUOTA_SUPPORT +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)) && defined(HAVE_QUOTA_SUPPORT) set_opt(EXT3_SB(sb)->s_mount_opt, QUOTA); #endif return 0; -- GitLab