ext4: initialize the percpu counters before replaying the journal
commit04dcc0f8bf9be6ef1a6ffba049819fe8a2a7368d
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Nov 2010 16:03:21 +0000 (3 12:03 -0400)
committerKen Sumrall <ksumrall@android.com>
Thu, 2 Dec 2010 01:54:09 +0000 (1 17:54 -0800)
tree1e1b0891649e64ddaacf73fb0aeac73c16bb4f15
parenta511d35c1e62dca9fe617bcc1bae7d98c996d04b
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