ext4: Do mballoc init before doing filesystem recovery
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 11 Oct 2008 00:07:20 +0000 (20:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Oct 2008 00:07:20 +0000 (20:07 -0400)
commitc2774d84fd6cab2bfa2a2fae0b1ca8d8ebde48a2
tree1319b98e55968e3223d8f2fb6cd7807cdfd80fe1
parent688f05a01983711a4e715b1d6e15a89a89c96a66
ext4: Do mballoc init before doing filesystem recovery

During filesystem recovery we may be doing a truncate
which expects some of the mballoc data structures to
be initialized. So do ext4_mb_init before recovery.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c