summaryrefslogtreecommitdiff
path: root/fs/ext2/ioctl.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-02-06 12:40:09 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 21:41:20 +0300
commitf762e9054ff84aa90f037a49747ac61b36609d81 (patch)
tree7f39358385964c8fb101096b23c451ae82f6e58a /fs/ext2/ioctl.c
parent01584fa6456dafbaf5a94ad7fb2aa3e3ecd7a7ba (diff)
downloadlinux-f762e9054ff84aa90f037a49747ac61b36609d81.tar.xz
ext3: 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> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2/ioctl.c')
0 files changed, 0 insertions, 0 deletions