On Mon, 29 Oct 2007, James Bottomley wrote: > On Mon, 2007-10-29 at 12:38 -0400, Alan Stern wrote: > > No, that's not what happens. The genhd's parent is the scsi_device > > and > > the queue's parent is the genhd. You can see this immediately from > > the > > directory layout in sysfs. Thus: > > How has this happened? The scsi_device doesn't know anything about the > genhd; how can it hold a reference to it? No, no -- it's the other way around. The scsi_device is the parent of the genhd, so the genhd holds a reference to the scsi_device, not vice versa. 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