Stephen M. Cameron d8a0be6ab7 cciss: fix problem that deleting multiple logical drives could cause a panic
Fix problem that deleting multiple logical drives could cause a panic.

It fixes a panic which can be easily reproduced in the following way: Just
create several "arrays," each with multiple logical drives via hpacucli,
then delete the first array, and it will blow up in deregister_disk(), in
the call to get_host() when it tries to dig the hba pointer out of a NULL
queue pointer.

The problem has been present since my code to make rebuild_lun_table
behave better went in.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-12-19 08:14:07 +01:00
..
2008-10-21 07:47:40 -04:00
2008-10-21 07:47:59 -04:00
2008-10-21 07:47:38 -04:00
2008-10-21 07:47:42 -04:00
2008-10-21 07:47:44 -04:00
2005-04-16 15:20:36 -07:00
2008-10-21 07:47:36 -04:00
2008-10-10 22:39:21 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-10-30 11:38:45 -07:00
2008-10-21 07:47:53 -04:00
2005-04-16 15:20:36 -07:00
2008-10-21 07:48:03 -04:00
2008-10-21 07:48:07 -04:00
2008-10-21 07:48:09 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:17 -04:00