From 14fc346fdc73f540d3ba0318c2b2dba079e0449c Mon Sep 17 00:00:00 2001 From: anserper Date: Tue, 30 Sep 2008 11:56:05 +0000 Subject: [PATCH] Branch b1_8_gate b=17059 i=ZhiYong Tian i=Johann Lombardi Always build quota support with client --- lustre/lvfs/fsfilt_ext3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index 108fd54..f684dc7 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -1414,7 +1414,9 @@ out: static int fsfilt_ext3_setup(struct super_block *sb) { +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)) && defined(HAVE_QUOTA_SUPPORT) struct ext3_sb_info *sbi = EXT3_SB(sb); +#endif #if 0 sbi->dx_lock = fsfilt_ext3_dx_lock; sbi->dx_unlock = fsfilt_ext3_dx_unlock; -- 1.8.3.1