Re: 2.4.22-pre4 won't link without CONFIG_QUOTA

From: Christoph Hellwig (hch@infradead.org)
Date: Tue Jul 08 2003 - 06:26:40 EST


On Tue, Jul 08, 2003 at 10:21:28AM +0100, Richard Curnow wrote:
> Hi Christoph,
>
> I'm building without quota support. I get the following error at link
> time:

This is the patch I sent to marcelo a few minutes ago:

===== fs/dquot.c 1.18 vs edited =====
--- 1.18/fs/dquot.c Tue Jun 24 23:11:29 2003
+++ edited/fs/dquot.c Mon Jul 7 10:44:36 2003
@@ -152,8 +152,6 @@
 static LIST_HEAD(free_dquots);
 static struct list_head dquot_hash[NR_DQHASH];
 
-struct dqstats dqstats;
-
 static void dqput(struct dquot *);
 static struct dquot *dqduplicate(struct dquot *);
 
===== fs/quota.c 1.1 vs edited =====
--- 1.1/fs/quota.c Tue Jun 24 23:11:30 2003
+++ edited/fs/quota.c Mon Jul 7 10:42:58 2003
@@ -13,6 +13,7 @@
 #include <linux/smp_lock.h>
 #include <linux/quotacompat.h>
 
+struct dqstats dqstats;
 
 /* Check validity of quotactl */
 static int check_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:27 EST