https://github.com/torvalds/linux
Revision 0fc13c8995cd96f4123de400c71c223d80400ed9 authored by Stephen M. Cameron on 17 December 2010, 08:01:37 UTC, committed by Jens Axboe on 17 December 2010, 08:01:37 UTC
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>
1 parent 72d4cd9
History
Tip revision: 0fc13c8995cd96f4123de400c71c223d80400ed9 authored by Stephen M. Cameron on 17 December 2010, 08:01:37 UTC
cciss: fix cciss_revalidate panic
Tip revision: 0fc13c8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.4 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top