From: Aneesh Kumar K.V Date: Wed, 6 Feb 2008 09:40:08 +0000 (-0800) Subject: ext2: add block bitmap validation X-Git-Tag: v2.6.25-rc1~536 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01584fa6456dafbaf5a94ad7fb2aa3e3ecd7a7ba;p=pandora-kernel.git ext2: 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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed