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)
commit2856922c158605514ec5974a03097eaec91f4c0d
tree1b3cdadf7f4f4302d8d16eb8d310ab7811846de3
parent5dd34572ad9a3be430632dd42e4af2ea370b397b
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