[lkml]   [2002]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    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.


    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),
    init_once, NULL);
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 13:15    [W:0.021 / U:13.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site