Update flex_bg free blocks and free inodes counters when resizing.
authorFrederic Bohe <frederic.bohe@bull.net>
Mon, 8 Sep 2008 14:20:24 +0000 (10:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 8 Sep 2008 14:20:24 +0000 (10:20 -0400)
commitc62a11fd9555007b1caab83b5bcbb443a43e32bb
tree1bdafd4b2d7911c1148ac68f888eb0d47977b276
parent9d9f177572d9e4eba0f2e18523b44f90dd51fe74
Update flex_bg free blocks and free inodes counters when resizing.

This fixes a bug which prevented the newly created inodes after a
resize from being used on filesystems with flex_bg.

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