[Quantal][Precise SRU][PATCH 0/1] UBUNTU: SAUCE: ext4: fix the free blocks calculation for ext3 file

Luis Henriques luis.henriques at canonical.com
Thu Jun 7 17:19:13 UTC 2012


BugLink: http://bugs.launchpad.net/bugs/1010022

== Precise SRU Justification ==

>From Ted Ts'o comment on LP bug:

"Given that many LTS users may have large RAID arrays who might not
want to copy data to do the backup / reformat / restore dance, and if
they were using ext3 and want to upgrade to ext4, they would get hit
by this, it would be great if you could get a kernel with this bug fix
pushed out with the next kernel release."

== Fix ==

The fix has been submitted upstreams here:

http://thread.gmane.org/gmane.comp.file-systems.ext4/32720

It has also been forwarded to stable.

== Impact ==

Users upgrading from ext3 to ext4 on kernels 3.2 and above will be hit
by this bug.

== Test Case ==

The following allows to trigger the bug:

mke2fs -q -t ext4 -O ^flex_bg /dev/vdd 5g
mount -t ext4 /dev/vdd /mnt
fallocate -l 4600m /mnt/test

Theodore Ts'o (1):
  ext4: fix the free blocks calculation for ext3 file systems w/
    uninit_bg

 fs/ext4/balloc.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
1.7.9.5





More information about the kernel-team mailing list