ext4: initialize the percpu counters before replaying the journal
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Nov 2010 16:03:21 +0000 (12:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Nov 2010 16:03:21 +0000 (12:03 -0400)
commitce7e010aef63dc6b37a2354f7c9f5f4aedb37978
tree458ee0c4887e989522e62701350edf9571dfce48
parentb2c78cd09b6ef78c8f20190f0b3e6df1d3651b70
ext4: initialize the percpu counters before replaying the journal

We now initialize the percpu counters before replaying the journal,
but after the journal, we recalculate the global counters, to deal
with the possibility of the per-blockgroup counts getting updated by
the journal replay.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c