On Thu, Mar 22, 2012 at 3:51 PM, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote: > Isn't this something which is to be accomplished by counting references to > the parent device? As I mentioned to James [1] the reference count keeps the parent from being kfree()'d but not device_del()'d where kobj->sd gets sets to NULL. -- Dan [1]: http://marc.info/?l=linux-scsi&m=133243414518064&w=2 -- To unsubscribe from this list: 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