[PATCH] 2.4.23 ext3 warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kill warning if CONFIG_QUOTA is disabled.

--- linux-2.4.23/fs/ext3/super.c.orig	Fri Nov 28 21:04:40 2003
+++ linux-2.4.23/fs/ext3/super.c	Sun Nov 30 12:16:00 2003
@@ -449,7 +449,6 @@
 }
 
 static struct dquot_operations ext3_qops;
-static int (*old_sync_dquot)(struct dquot *dquot);
 
 static struct super_operations ext3_sops = {
 	read_inode:	ext3_read_inode,	/* BKL held */
@@ -1773,6 +1772,8 @@
  */
 
 #ifdef CONFIG_QUOTA
+
+static int (*old_sync_dquot)(struct dquot *dquot);
 
 /* Blocks: (2 data blocks) * (3 indirect + 1 descriptor + 1 bitmap) + superblock */
 #define EXT3_OLD_QFMT_BLOCKS 11

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux