ext4: Don't claim block from group which has corrupt bitmap
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 15 Feb 2008 18:48:21 +0000 (13:48 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Feb 2008 18:48:21 +0000 (13:48 -0500)
commite56eb6590693a5a340e8f596db2768a6e1b9e236
tree0fccb796503d6296b36f343be70ad35c0fba2d7c
parent9df5643ad135c7f8c02d3b69020de4ec910f9fc0
ext4: Don't claim block from group which has corrupt bitmap

In ext4_mb_complex_scan_group, if the extent length of the newly
found extentet is greater than than the total free blocks counted
in group info, break without claiming the block.

Document different ext4_error usage, explaining the state with which we
continue if we mount with errors=continue

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