Whamcloud - gitweb
Branch HEAD
authoranserper <anserper>
Tue, 2 Sep 2008 21:11:14 +0000 (21:11 +0000)
committeranserper <anserper>
Tue, 2 Sep 2008 21:11:14 +0000 (21:11 +0000)
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

index 4d43591..dd7292d 100644 (file)
@@ -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;