]> git.baikalelectronics.ru Git - kernel.git/commit
Ext4: Fix online resize block group descriptor corruption
authorFrederic Bohe <frederic.bohe@bull.net>
Fri, 20 Jun 2008 15:48:48 +0000 (11:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Jun 2008 15:48:48 +0000 (11:48 -0400)
commitba4078b52cc8ce3d32d1a359295c429e846bc326
tree1b3cdadf7f4f4302d8d16eb8d310ab7811846de3
parentb26d1def843214a724af28dac577ebb0adac03aa
Ext4: Fix online resize block group descriptor corruption

This is the patch for the group descriptor table corruption during
online resize pointed out by Theodore Tso.  The problem was caused by
the fact that the ext4 group descriptor can be either 32 or 64 bytes
long.  Only the 64 bytes structure was taken into account.

Signed-off-by: Frederic Bohe <frederic.bohe@bull.net>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c