ext4: update s_free_{inodes,blocks}_count during online resize
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 20 Mar 2012 19:46:11 +0000 (15:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Mar 2012 19:46:11 +0000 (15:46 -0400)
commit636d7e2e3b57543636d20cd083079300ccdd569d
treec3dcb77693d2a2262be5ebc4a2f993d01453b4b6
parent92b9781658dba287a1354ad74ed351f68c3ee740
ext4: update s_free_{inodes,blocks}_count during online resize

When we're doing an online resize of an ext4 filesystem, we need to
update the free inode and block counts in the superblock so that fsck
doesn't complain.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c