Re: [PATCH 2.4] - Fixes bug in fs/ext3/super.c.

From: Marcelo Tosatti (marcelo.tosatti_at_cyclades.com)
Date: 08/31/04

  • Next message: Marcelo Tosatti: "Re: IPMI driver updates for 2.4"
    Date:	Tue, 31 Aug 2004 07:56:19 -0300
    To: "Luiz Fernando N. Capitulino" <lcapitulino@conectiva.com.br>
    
    

    On Mon, Aug 30, 2004 at 12:47:24PM -0300, Luiz Fernando N. Capitulino wrote:
    >
    > Hi Marcelo,
    >
    > Some time ago I fixed this bug in 2.6.
    >
    > There is a `return NULL' missing in ext3_get_journal() if the
    > call to journal_init_inode() fail. Note that if the error happens,
    > `journal' will be NULL and used.
    >
    > (agains't 2.4.28-pre2).
    >
    > Signed-off-by: Luiz Capitulino <lcapitulino@conectiva.com.br>
    >
    >
    > diff -Nparu a/fs/ext3/super.c a~/fs/ext3/super.c
    > --- a/fs/ext3/super.c 2004-08-07 20:26:05.000000000 -0300
    > +++ a~/fs/ext3/super.c 2004-08-15 22:18:18.000000000 -0300
    > @@ -1302,6 +1302,7 @@ static journal_t *ext3_get_journal(struc
    > if (!journal) {
    > printk(KERN_ERR "EXT3-fs: Could not load journal inode\n");
    > iput(journal_inode);
    > + return NULL;
    > }
    > ext3_init_journal_params(EXT3_SB(sb), journal);
    > return journal;

    Applied,

    thanks.
    -
    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: Marcelo Tosatti: "Re: IPMI driver updates for 2.4"

    Relevant Pages

    • Re: GTK update problems
      ... This upgrade seems to have broken many packages. ... > This probably reflects a bug in the program. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Update: Re: GTK update problems
      ... In my case, multi-gnome-terminal failed to start, leaving an error message in .xsession-errors. ... It seems to breaks totem, which issues many copies of the following error message: ... > This probably reflects a bug in the program. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: RPM functions taking forever
      ... escribió:> Richard S. Crawford wrote: ... > This is a know bug and due to stale RPM lock file. ... removing packages with: ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Report a bug relative ssh key exchange.
      ... I found a dangerous bug about ssh with key exchange. ... Le informazioni contenute in questa comunicazione e gli eventuali ... This e-mail message and any files transmitted with it contain ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Etch status..?
      ... has already started to freeze part of the basic system (where freeze is ... the release state before stable aka etch) ... URLto a png of the rc bug count. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)