diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-12-17 11:01:37 +0300 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-12-17 11:01:37 +0300 |
commit | 0fc13c8995cd96f4123de400c71c223d80400ed9 (patch) | |
tree | 3cbd89861a75d494a104db7d8d129eecfb086782 /drivers/scsi/scsi_lib.c | |
parent | 72d4cd9f38b5ed96b75df4c622be25e1c2648dd3 (diff) | |
download | linux-0fc13c8995cd96f4123de400c71c223d80400ed9.tar.xz |
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 <scameron@beardog.cce.hp.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions