diff options
author | 2009-09-17 13:47:50 -0500 | |
---|---|---|
committer | 2009-10-01 21:15:43 +0200 | |
commit | 2c935593ac1871211b43a54f023dc3bc605ad346 (patch) | |
tree | 7ce33ec7a0f1bb7386a347ed1e31c7f2513ed5c2 /lib/dma-debug.c | |
parent | cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs. (diff) | |
download | linux-dev-2c935593ac1871211b43a54f023dc3bc605ad346.tar.xz linux-dev-2c935593ac1871211b43a54f023dc3bc605ad346.zip |
cciss: Fix excessive gendisk freeing bug on driver unload.
Fix bug that free_hba was calling put_disk for all gendisk[]
pointers -- all 1024 of them -- regardless of whether the were
used or not (NULL). This bug could cause rmmod to oops if logical
drives had been deleted during the driver's lifetime.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions