ext4: actually request zeroing of inode table after grow
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 25 Apr 2019 17:06:18 +0000 (13:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 25 Apr 2019 17:06:18 +0000 (13:06 -0400)
commit310a997fd74de778b9a4848a64be9cda9f18764a
tree2f55cdc6ce2c950e2b599be84dfb6dd2ba480775
parent4b99faa23c51ca31312b9afb876e8e5878daeb80
ext4: actually request zeroing of inode table after grow

It is never possible, that number of block groups decreases,
since only online grow is supported.

But after a growing occured, we have to zero inode tables
for just created new block groups.

Fixes: 19c5246d2516 ("ext4: add new online resize interface")
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
fs/ext4/ioctl.c