On Tue, Jul 12, 2005 at 05:38:19PM -0700, Edward Falk wrote:
> Hi all; what's the proper way to get the scsi_device structure from a 
> gendisk structure?

No.

> sd.c uses pointers through scsi_disk, but that 
> structure is private to sd.c.  Will I need to add an access function in 
> sd.c or something?

You should revisit your code to not need access to the scsi_device
structure, and follow the layering of the block and scsi subsystems.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to