diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2007-10-16 23:27:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:42:52 -0700 |
commit | 7c9e69faa28027913ee059c285a5ea8382e24b5d (patch) | |
tree | 951e6e780da734c61337eb8fef23ac3ad68b1e18 /drivers | |
parent | 82df39738ba9e02c057fa99b7461a56117d36119 (diff) | |
download | kernel-crypto-7c9e69faa28027913ee059c285a5ea8382e24b5d.tar.gz kernel-crypto-7c9e69faa28027913ee059c285a5ea8382e24b5d.tar.xz kernel-crypto-7c9e69faa28027913ee059c285a5ea8382e24b5d.zip |
ext2/ext3/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 by
ext4_blk_bitmap, ext4_inode_bitmap and ext4_inode_table. Validate the
block bitmap against these blocks.
[akpm@linux-foundation.org: cleanups]
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Acked-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions