fs/partitions: Validate map_count in Mac partition tables
commit0783ce0743a9f7ff2ddd0d94c645e6598f231ae0
authorTimo Warns <warns@pre-sense.de>
Thu, 17 Feb 2011 21:27:40 +0000 (17 22:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:46:50 +0000 (2 09:46 -0500)
tree766930f0d4bd1ea90b930a95ab93fbc73da5d342
parentfc1ff859e9e28379ae4cae181ff00469d7e79b73
fs/partitions: Validate map_count in Mac partition tables

commit fa7ea87a057958a8b7926c1a60a3ca6d696328ed upstream.

Validate number of blocks in map and remove redundant variable.

Signed-off-by: Timo Warns <warns@pre-sense.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/partitions/mac.c