ext4: mark block group as corrupt on inode bitmap error
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Aug 2013 22:32:58 +0000 (18:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Aug 2013 22:32:58 +0000 (18:32 -0400)
commit87a39389be3e3b007d341be510a7e4a0542bdf05
treed0e02154419ef9b8fa77e1801e5a693734aff3d4
parent163a203ddb36c36d4a1c942aececda0cc8d06aa7
ext4: mark block group as corrupt on inode bitmap error

If we detect either a discrepancy between the inode bitmap and the
inode counts or the inode bitmap fails to pass validation checks, mark
the block group corrupt and refuse to allocate or deallocate inodes
from the group.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ialloc.c