[PATCH] reiser BUG in 2.6.13-rc1

From: Jens Axboe (axboe_at_suse.de)
Date: 06/30/05

  • Next message: Jens Axboe: "Re: [PATCH] reiserfs: enable attrs by default if saf"
    Date:	Thu, 30 Jun 2005 12:11:59 +0200
    To: linux-kernel@vger.kernel.org, reiserfs-list@namesys.com
    
    

    Hi,

    Reiser is derefencing an uninitialized pointer, causing an oops on boot.

    Signed-off-by: Jens Axboe <axboe@suse.de>

    diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
    --- a/fs/reiserfs/super.c
    +++ b/fs/reiserfs/super.c
    @@ -1053,10 +1053,9 @@ static void handle_barrier_mode(struct s
     
     static void handle_attrs( struct super_block *s )
     {
    - struct reiserfs_super_block * rs;
    + struct reiserfs_super_block * rs = SB_DISK_SUPER_BLOCK (s);
     
             if( reiserfs_attrs( s ) ) {
    - rs = SB_DISK_SUPER_BLOCK (s);
                     if( old_format_only(s) ) {
                             reiserfs_warning(s, "reiserfs: cannot support attributes on 3.5.x disk format" );
                             REISERFS_SB(s) -> s_mount_opt &= ~ ( 1 << REISERFS_ATTRS );

    -- 
    Jens Axboe
    -
    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/
    

  • Next message: Jens Axboe: "Re: [PATCH] reiserfs: enable attrs by default if saf"

    Relevant Pages

    • Re: I request inclusion of reiser4 in the mainline kernel
      ... On Tue, Sep 20 2005, Hans Reiser wrote: ... >>Seeing as you are the one that is apparently bothered by the misnomer, ... Jens Axboe ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: a few issues with events
      ... have an event that, in one of its handlers, unsubscribes from another ... I coded a short test application just to be sure, and sure enough I can unsubscribe from the event I'm handling. ... static event EventHandler eventTest; ... static void OnTest() ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: parport compile error in 2.6.4-r2c (sparc64)
      ... static void parport_sunbpp_disable_irq(struct parport *p) ... static void __exit parport_sunbpp_exit ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] PCI fixes for 2.6.9
      ... Change for loops with list_for_each. ... static void __init ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 3/3] 2.6.10 zr36067 driver - reduce stack size usage
      ... "Reduce local variable (large struct) stack usage in zoran_do_ioctl ... Regards, ... Ronald ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)