Stephen M. Cameron 531c2dc70d cciss: Make cciss_seq_show handle holes in the h->drv[] array
It is possible (and expected) for there to be holes in the h->drv[]
array, that is, some elements may be NULL pointers.  cciss_seq_show
needs to be made aware of this possibility to avoid an Oops.

To reproduce the Oops which this fixes:

1) Create two "arrays" in the Array Configuratino Utility and
   several logical drives on each array.
2) cat /proc/driver/cciss/cciss* in an infinite loop
3) delete some of the logical drives in the first "array."

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2010-02-05 13:15:36 +01:00
..
2010-01-25 18:01:41 +01:00
2009-10-01 21:15:40 +02:00
2009-09-22 07:17:25 -07:00
2009-10-01 21:17:49 +02:00
2009-10-01 21:17:49 +02:00
2009-11-04 09:09:28 +01:00
2009-03-26 21:15:27 +01:00
2009-09-22 07:17:25 -07:00
2008-10-21 07:48:11 -04:00