From: NeilBrown Date: Tue, 31 Oct 2006 06:07:21 +0000 (-0800) Subject: [PATCH] md: check bio address after mapping through partitions. X-Git-Tag: v2.6.19-rc5~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ddfe9691c91a244e8d1be597b6428fcefd58103;p=pandora-kernel.git [PATCH] md: check bio address after mapping through partitions. Partitions are not limited to live within a device. So we should range check after partition mapping. Note that 'maxsector' was being used for two different things. I have split off the second usage into 'old_sector' so that maxsector can be still be used for it's primary usage later in the function. Cc: Jens Axboe Signed-off-by: Neil Brown Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed