From: Andi Kleen <ak@suse.de>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org, davej@suse.de
Subject: [PATCH] Fix 2.5.3pre reiserfs BUG() at boot time
Date: Fri, 25 Jan 2002 18:28:08 +0100 [thread overview]
Message-ID: <20020125182808.A8130@wotan.suse.de> (raw)
[resent because t-offline's outgoing mail server seems to be eating/
not delivering mail. sorry if it appears multiple times]
This patch fixes an reiserfs BUG() at boot time introduced by the
inode cleanups. The problem is that it passes a 20 char name to
kmem_cache_create() ("reiserfs_inode_cache") but kmem_cache_create()
only allows 19 character names and BUG()s for longer names.
The patch fixes this in a low tech approach. It's required to boot
a 2.5.3preX machine with reiserfs compiled in.
-Andi
Index: fs/reiserfs/super.c
===================================================================
RCS file: /cvs/linux/fs/reiserfs/super.c,v
retrieving revision 1.17
diff -u -u -r1.17 super.c
--- fs/reiserfs/super.c 2002/01/24 14:07:54 1.17
+++ fs/reiserfs/super.c 2002/01/24 22:03:34
@@ -153,7 +153,7 @@
static int init_inodecache(void)
{
- reiserfs_inode_cachep = kmem_cache_create("reiserfs_inode_cache",
+ reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache",
sizeof(struct reiserfs_inode_info),
0, SLAB_HWCACHE_ALIGN,
init_once, NULL);
next reply other threads:[~2002-01-25 17:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 17:28 Andi Kleen [this message]
2002-01-25 18:01 ` [PATCH] Fix 2.5.3pre reiserfs BUG() at boot time John Levon
2002-01-25 18:08 ` Linus Torvalds
2002-01-25 18:31 ` Andreas Dilger
2002-01-25 18:46 ` Hans Reiser
2002-01-25 19:49 ` Andi Kleen
2002-01-25 20:38 ` Andreas Dilger
2002-01-25 22:15 ` Andi Kleen
2002-01-25 22:32 ` eth0: NULL pointer encountered in RX ring, skipping Andrea Ferraris
2002-01-25 22:59 ` Jeff Garzik
2002-01-26 10:11 ` Andrea Ferraris
2002-01-26 15:24 ` OPS: " Andrea Ferraris
2002-01-25 22:41 ` [PATCH] Fix 2.5.3pre reiserfs BUG() at boot time Andreas Dilger
2002-01-26 7:24 ` Kai Henningsen
2002-01-27 23:02 ` Alessandro Suardi
2002-01-28 0:01 ` Andi Kleen
2002-01-28 11:07 ` Jens Axboe
2002-01-28 14:53 ` Andi Kleen
2002-01-28 14:54 ` Jens Axboe
2002-01-29 13:14 ` Alessandro Suardi
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=20020125182808.A8130@wotan.suse.de \
--to=ak@suse.de \
--cc=davej@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.