ext4: When resizing set the EXT4_BG_INODE_ZEROED flag for new block groups
authorSolofo.Ramangalahy@bull.net <>
Thu, 27 Nov 2008 04:44:10 +0000 (23:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Nov 2008 04:44:10 +0000 (23:44 -0500)
commit93c0d86371a5b2e68473752a6e54ff03185c473e
tree477221b4ef9549e75a41b491298522c586874e4b
parent23475e264c4f5c8b635a31924851287ead1ebe32
ext4: When resizing set the EXT4_BG_INODE_ZEROED flag for new block groups

The inode table has been zeroed in setup_new_group_blocks().  Mark it as
such in ext4_group_add().  Since we are currently clearing inode table
for the new block group, we should set the EXT4_BG_INODE_ZEROED flag.
If at some point in the future we don't immediately zero out the inode
table as part of the resize operation, then obviously we shouldn't do
this.

Signed-off-by: Solofo.Ramangalahy@bull.net
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c