]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: avoid duplicate writes of the backup bg descriptor blocks
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 5 Sep 2012 05:27:50 +0000 (01:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 5 Sep 2012 05:27:50 +0000 (01:27 -0400)
commit02dd7dbe1eec35b1cdcb30f9ebc6230153a29970
tree3b30f6ab1a26169bd2557f23e0b688814516513b
parentc52b5ceefc4d1a07d69680727d01b683869f3ba8
ext4: avoid duplicate writes of the backup bg descriptor blocks

The resize code was needlessly writing the backup block group
descriptor blocks multiple times (once per block group) during an
online resize.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/resize.c