ext4: Don't panic in case of corrupt bitmap
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 10 Feb 2008 06:10:04 +0000 (01:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 10 Feb 2008 06:10:04 +0000 (01:10 -0500)
commit26346ff681cb42c1436ed09c44dcae4809470dab
tree1f1b8bff59e9aedbd0ad80a51317d5c1e5cbad91
parent256bdb497c6f562462f1e89fc8e1409f61ef40cb
ext4: Don't panic in case of corrupt bitmap

Multiblock allocator calls BUG_ON in many case if the free and used
blocks count obtained looking at the bitmap is different from what
the allocator internally accounted for. Use ext4_error in such case
and don't panic the system.

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