On Wed, 31 Oct 2007, James Bottomley wrote: > > Dropping a kobject's reference to its parent when the kobject is > > removed rather than when it is deleted will solve all these problems. > > The queue's reference to the gendisk and the gendisk's reference to the > > device will both be dropped when the device is unregistered, allowing > > the device and gendisk to be released. When the device is released it > > can then drop its reference to the queue, allowing the queue to be > > released. > > > > In other words, reverting that 4-year-old patch would fix everything. > > I'd still like to get your acknowledgement for my patch, posted here: > > > > http://marc.info/?l=linux-scsi&m=119368368904151&w=2 > > It sounds plausible, but I'm not really up to speed on all the changes > going on in sysfs at the moment, so it would be dangerous to rely on > what I think sounds reasonable. Okay. It sounds like there's not much SCSI-specific remaining in this thread, so anything further should move back to LKML. Alan Stern - 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