]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: add block bitmap validation
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
commitabcb2947c91130426539f209f7a473a67a1f6663
tree4305e34c0a129c1351d9acabd254b0f896617470
parent389d1b083c767a360ec84b27a95da06244becec8
ext4: add block bitmap validation

When a new block bitmap is read from disk in read_block_bitmap()
there are a few bits that should ALWAYS be set.  In particular,
the blocks given corresponding to block bitmap, inode bitmap and inode tables.
Validate the block bitmap against these blocks.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
fs/ext4/balloc.c