From: Stephen M. Cameron Date: Fri, 17 Dec 2010 08:01:37 +0000 (+0100) Subject: cciss: fix cciss_revalidate panic X-Git-Tag: v2.6.37-rc7~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc13c8995cd96f4123de400c71c223d80400ed9;p=pandora-kernel.git cciss: fix cciss_revalidate panic If you delete a logical drive, and then run BLKRRPART (e.g. via fdisk) on a logical drive which is "after" the deleted logical drive in the h->drv[] array, then cciss_revalidate panics because it will access the null pointer h->drv[x] when x hits the deleted drive. Signed-off-by: Stephen M. Cameron Cc: stable@kernel.org Signed-off-by: Jens Axboe --- Reading git-diff-tree failed