Files
Stephen M. Cameron b7f7ed5565 cciss: Make cciss_seq_show handle holes in the h->drv[] array
commit 531c2dc70d339c5dfa8c3eb628c3459dc6f3a075 upstream.

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>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-01 15:55:27 -07:00
..
2009-07-17 15:29:58 +09:00
2009-07-12 12:22:34 -07:00
2009-06-30 18:56:01 -07:00
2009-06-18 09:56:20 +02:00
2009-07-12 12:22:34 -07:00
2009-03-26 21:15:27 +01:00
2009-04-24 08:54:21 +02:00
2008-10-21 07:48:11 -04:00
2009-07-15 11:27:40 +09:00