]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit360d54ccb8de8ef7dd9aaec2c0aeee4a06642e62
tree2f55cdc6ce2c950e2b599be84dfb6dd2ba480775
parentd05c52e2031b6c9ddaec224a49449d9d9d13e1d5
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: fc84198bd5f2 ("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