This patch sequence converts the SCSI host state model to a model like SCSI device is using and adds a state model for SCSI targets. These new state models are then used to help in the removal of targets and devices during removal of a SCSI host. I have done some simple add and delete testing. The target state model should have more of the targets states covered. The list_for_each_entry_safe in __scsi_remove_target needs to be cleaned up. For background context please refer to previous mail. http://marc.theaimsgroup.com/?t=111878458800003&r=1&w=2 http://marc.theaimsgroup.com/?t=111833447800002&r=1&w=2 -andmike -- Michael Anderson andmike@xxxxxxxxxx - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html