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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:38:48 +0000 (05:38 +0900)
commit2de1ece4de710668bb53eff74bffe80bb267087f
tree6be4c45d8a38366f6d4fdfc201b1efbbf839c62b
parent1079d76f47379886ebfd3ae0f79a9f6cd62df29e
ext4: avoid duplicate writes of the backup bg descriptor blocks

commit 2ebd1704ded88a8ae29b5f3998b13959c715c4be upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/resize.c