From: anserper Date: Tue, 2 Sep 2008 21:11:14 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_110~21 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=41c4d2543958c8ddb08da0c0dbecb7941267e992;p=fs%2Flustre-release.git Branch HEAD b=16890 i=Alexander Zarochentsev (alexander.zarochentsev@sun.com) i=ZhiYong Tian (tianzy@sun.com) fix HAVE_QUOTA_SUPPORT usage --- diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index 4d43591..dd7292d 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;