mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davi Arnaut <davi.lkml@gmail.com>
To: Ben Greear <greearb@candelatech.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at mm/slab.c:1488! (2.6.13.2)
Date: Fri, 28 Oct 2005 01:32:44 -0200	[thread overview]
Message-ID: <750c918d0510272032k79211b44vee825864d0f26438@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

Hi,

> It seems that something still tries to load the ext3 module, and I get the
> BUG seen below.  If I remove the ext3 module and re-build the initrd,
> the error goes away.

The attached patch should fix it.

Signed-of-by: Davi Arnaut <davi.arnaut@gmail.com>

[-- Attachment #2: ext3-already-registered.patch --]
[-- Type: text/x-patch, Size: 476 bytes --]

diff --git a/fs/ext3/super.c b/fs/ext3/super.c
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -2639,7 +2639,14 @@ static struct file_system_type ext3_fs_t
 
 static int __init init_ext3_fs(void)
 {
-	int err = init_ext3_xattr();
+	int err;
+
+        if (get_fs_type(ext3_fs_type.name)) {
+          printk(KERN_WARNING "EXT3-fs: already registered\n");
+          return -1;
+        }
+
+        err = init_ext3_xattr();
 	if (err)
 		return err;
 	err = init_inodecache();

             reply	other threads:[~2005-10-28  3:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28  3:32 Davi Arnaut [this message]
2005-10-28  4:53 ` Andrew Morton
2005-10-28 10:36   ` Davi Arnaut
2005-10-28 10:55     ` Andrew Morton
2005-10-29 11:37   ` Manfred Spraul
  -- strict thread matches above, loose matches on Subject: below --
2005-10-27 20:55 Ben Greear
2005-10-27 21:37 ` Nate Diller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=750c918d0510272032k79211b44vee825864d0f26438@mail.gmail.com \
    --to=davi.lkml@gmail.com \
    --cc=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®