Skip to content
Snippets Groups Projects
Commit e3232870 authored by Andrew Perepechko's avatar Andrew Perepechko
Browse files

b=16890

i=Alexander Zarochentsev (alexander.zarochentsev@sun.com)
i=ZhiYong Tian (tianzy@sun.com)

fix HAVE_QUOTA_SUPPORT usage
parent 4e962ce1
No related branches found
No related tags found
No related merge requests found
......@@ -1416,7 +1416,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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment