Messages in this thread Patch in this message | | | Date | Fri, 25 Jan 2002 18:28:08 +0100 | From | Andi Kleen <> | Subject | [PATCH] Fix 2.5.3pre reiserfs BUG() at boot time |
| |
[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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |