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)
commit2ebd1704ded88a8ae29b5f3998b13959c715c4be
tree3b30f6ab1a26169bd2557f23e0b688814516513b
parent6df935ad2fced9033ab52078825fcaf6365f34b7
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