--- linux/fs/dquot.c.quota Mon Jul 21 21:17:25 2003 +++ linux/fs/dquot.c Mon Jul 21 21:39:42 2003 @@ -68,13 +68,17 @@ #include #include #include +#if 0 #include +#endif #include static char *quotatypes[] = INITQFNAMES; static struct quota_format_type *quota_formats; /* List of registered formats */ +#if 0 static struct quota_module_name module_names[] = INIT_QUOTA_MODULE_NAMES; +#endif int register_quota_format(struct quota_format_type *fmt) { @@ -102,6 +106,7 @@ static struct quota_format_type *find_qu lock_kernel(); for (actqf = quota_formats; actqf && actqf->qf_fmt_id != id; actqf = actqf->qf_next); +#if 0 if (!actqf || !try_inc_mod_count(actqf->qf_owner)) { int qm; @@ -115,6 +120,10 @@ static struct quota_format_type *find_qu actqf = NULL; } out: +#else + if (actqf && !try_inc_mod_count(actqf->qf_owner)) + actqf = NULL; +#endif unlock_kernel(); return actqf; }