From: Aneesh Kumar K.V Date: Wed, 17 Oct 2007 06:27:02 +0000 (-0700) Subject: ext2/ext3/ext4: add block bitmap validation X-Git-Tag: v2.6.24-rc1~700 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c9e69faa28027913ee059c285a5ea8382e24b5d;p=pandora-kernel.git 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 Signed-off-by: Andreas Dilger Acked-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed