]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ext3: Properly report backup block present in a group
authorGlauber de Oliveira Costa <glommer@br.ibm.com>
Fri, 24 Mar 2006 11:18:37 +0000 (03:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:30 +0000 (07:33 -0800)
commit6daec63352afa5ea3cdee035156a9f8680e6de1e
tree667be9c3dc48afae4cb9ace7366019974f05a9f8
parent81eeb439050c8c7a95603fe044a4fa7f74362f05
[PATCH] ext3: Properly report backup block present in a group

In filesystems with the meta block group flag on, ext3_bg_num_gdb() fails
to report the correct number of blocks used to store the group descriptor
backups in a given group.  It happens because meta_bg follows a different
logic from the original ext3 backup placement in groups multiples of 3, 5
and 7.

Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com>
Cc: Andreas Dilger <adilger@clusterfs.com>
Cc: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Alex Tomas <alex@clusterfs.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/balloc.c