ext4: avoid duplicate writes of the backup bg descriptor blocks
commit5018ddd6809e3ca755087da51c9808f9535d46f0
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 5 Sep 2012 05:27:50 +0000 (5 01:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:23 +0000 (13 05:50 +0900)
tree93af186441377a9cb41856c4deb143fbce3a0be5
parent256ae46c73e0e989c390eaa31833881dd55d6b0c
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