public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage
       [not found] <45DA2CB2.4080507@redhat.com>
@ 2007-02-20 15:19 ` Adrian Bunk
  2007-02-20 17:08   ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-02-20 15:19 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: Kirill Korotaev, sct, akpm, adilger, linux-ext4

On Mon, Feb 19, 2007 at 06:03:14PM -0500, Chuck Ebbert wrote:

> This was dropped from 2.6.16-stable somehow:
> 
> http://lkml.org/lkml/2006/6/30/54

Thanks for forwarding it.

This patch didn't went in this form into Linus' tree, I'd therefore like 
to get an ACK from the ext3 maintainers (Cc'ed) before applying it.

> Below is probably mangled by Thunderbird, you'll have
> to fetch it yourself if you want to merge it:

patch(1) has a nice -l option for applying such patches.  :-)

> From:	Kirill Korotaev <>
> 
> This patch fixes ext3 block bitmap leakage,
> which leads to the following fsck messages on
> _healthy_ filesystem:
> Block bitmap differences:  -64159 -73707
> 
> All kernels up to 2.6.17 have this bug.
> 
> Found by
>    Vasily Averin <vvs@sw.ru> and Andrey Savochkin <saw@sawoct.com>
> Test case triggered the issue was created by
>    Dmitry Monakhov <dmonakhov@sw.ru>
> 
> Signed-Off-By: Vasiliy Averin <vvs@sw.ru>
> Signed-Off-By: Andrey Savochkin <saw@sawoct.com>
> Signed-Off-By: Kirill Korotaev <dev@openvz.org>
> CC: Dmitry Monakhov <dmonakhov@sw.ru>
> 
> --- ./fs/ext3/inode.c.e3crp	2006-06-28 05:22:40.000000000 +0400
> +++ ./fs/ext3/inode.c	2006-06-27 13:31:20.000000000 +0400
> @@ -585,6 +585,7 @@ static int ext3_alloc_branch(handle_t *h
> 
>   	branch[0].key = cpu_to_le32(parent);
>   	if (parent) {
> +		keys = 1;
>   		for (n = 1; n < num; n++) {
>   			struct buffer_head *bh;
>   			/* Allocate the next block */

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage
  2007-02-20 15:19 ` [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage Adrian Bunk
@ 2007-02-20 17:08   ` Eric Sandeen
  2007-02-26 14:35     ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2007-02-20 17:08 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Chuck Ebbert, Kirill Korotaev, sct, akpm, adilger, linux-ext4

Adrian Bunk wrote:
> On Mon, Feb 19, 2007 at 06:03:14PM -0500, Chuck Ebbert wrote:
> 
>> This was dropped from 2.6.16-stable somehow:
>>
>> http://lkml.org/lkml/2006/6/30/54
> 
> Thanks for forwarding it.
> 
> This patch didn't went in this form into Linus' tree, I'd therefore like 
> to get an ACK from the ext3 maintainers (Cc'ed) before applying it.

Yep, ACK from me for 2.6.16-stable.

-Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage
  2007-02-20 17:08   ` Eric Sandeen
@ 2007-02-26 14:35     ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-02-26 14:35 UTC (permalink / raw)
  To: Eric Sandeen
  Cc: Chuck Ebbert, Kirill Korotaev, sct, akpm, adilger, linux-ext4

On Tue, Feb 20, 2007 at 11:08:37AM -0600, Eric Sandeen wrote:
> Adrian Bunk wrote:
> > On Mon, Feb 19, 2007 at 06:03:14PM -0500, Chuck Ebbert wrote:
> > 
> >> This was dropped from 2.6.16-stable somehow:
> >>
> >> http://lkml.org/lkml/2006/6/30/54
> > 
> > Thanks for forwarding it.
> > 
> > This patch didn't went in this form into Linus' tree, I'd therefore like 
> > to get an ACK from the ext3 maintainers (Cc'ed) before applying it.
> 
> Yep, ACK from me for 2.6.16-stable.

Thanks, I've applied it.

> -Eric

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-26 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <45DA2CB2.4080507@redhat.com>
2007-02-20 15:19 ` [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage Adrian Bunk
2007-02-20 17:08   ` Eric Sandeen
2007-02-26 14:35     ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox