]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f357967d27600701f7ce61b8ac0501de5a22671
tree1f1b8bff59e9aedbd0ad80a51317d5c1e5cbad91
parent604f68f44cca9489a1abe6c2f8e72aad89c09863
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