lkml.org 
[lkml]   [2005]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: kernel BUG at mm/slab.c:1488! (2.6.13.2)
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>
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();
\
 
 \ /
  Last update: 2005-10-28 05:35    [W:1.381 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site