Messages in this thread | | | Date | Fri, 5 Feb 2010 13:14:43 +0100 | From | Jens Axboe <> | Subject | Re: [PATCH] cciss: Make cciss_seq_show handle holes in the h->drv[] array. |
| |
On Thu, Feb 04 2010, Stephen M. Cameron wrote: > From: Stephen M. Cameron <scameron@beardog.cce.hp.com> > > 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>
Thanks Stephen, applied for 2.6.33. BTW, you want to put that stable cc into the patch itself as well, then it'll get picked up automatically when Linus merges it.
-- Jens Axboe
| |