[PATCH] 2.4.23 ext3 warning

From: Geert Uytterhoeven
Date: Mon Dec 01 2003 - 15:32:29 EST



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/