fs/partitions: Validate map_count in Mac partition tables
authorTimo Warns <warns@pre-sense.de>
Thu, 17 Feb 2011 21:27:40 +0000 (22:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Feb 2011 01:50:51 +0000 (17:50 -0800)
commitfa7ea87a057958a8b7926c1a60a3ca6d696328ed
tree4795fb5b14dfd3112b650456007e167eb90c1645
parentee715087024b91a6ceb85ba2d02f6c35d354a48c
fs/partitions: Validate map_count in Mac partition tables

Validate number of blocks in map and remove redundant variable.

Signed-off-by: Timo Warns <warns@pre-sense.de>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/partitions/mac.c