linux/drivers/block
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
..
aoe aoe: switch to the new bio_flush_dcache_pages() interface 2009-12-22 09:12:48 +01:00
drbd drbd: null dereference bug 2010-01-25 18:01:41 +01:00
paride
amiflop.c
ataflop.c
brd.c
cciss_cmd.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
cciss_scsi.c
cciss_scsi.h
cciss.c cciss: Make cciss_seq_show handle holes in the h->drv[] array 2010-02-05 13:15:36 +01:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c drivers/block/DAC960.c: use DAC960_V2_Controller 2009-12-22 09:12:48 +01:00
DAC960.h
floppy.c floppy: Add an extra bound check on ioctl arguments 2009-12-15 08:53:25 -08:00
hd.c
ida_cmd.h
ida_ioctl.h
Kconfig
loop.c
Makefile
mg_disk.c drivers/block/mg_disk.c: use resource_size() 2009-12-22 09:12:48 +01:00
nbd.c
osdblk.c
pktcdvd.c pktcdvd: removing device does not remove its sysfs dir 2010-02-02 18:11:23 -08:00
ps3disk.c
ps3vram.c
smart1,2.h
sunvdc.c
swim3.c
swim_asm.S
swim.c
sx8.c
ub.c
umem.c
umem.h
viodasd.c
virtio_blk.c
xd.c block,xd: Delay allocation of DMA buffers until device is known 2009-12-09 15:11:03 +01:00
xd.h
xen-blkfront.c
xsysace.c
z2ram.c