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-12-16 05:40:34 -05:00
2008-11-29 20:42:28 -08:00
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-11-07 08:25:43 -08:00
2008-11-01 09:50:12 -07:00
2008-11-30 10:03:37 -08:00
2008-10-21 07:48:33 -04:00
2008-12-09 08:28:36 -08:00
2008-12-17 19:06:08 -08:00
2008-10-16 11:21:30 -07:00
2008-10-27 19:15:41 +01:00
2008-11-04 08:18:19 -08:00
2008-11-30 10:03:37 -08:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-11-17 19:11:26 +01:00
2008-10-28 21:47:17 +00:00