scsi_device_from_queue9
Return sdev associated with a request_queue
Usage
struct scsi_device * scsi_device_from_queue(struct request_queue * q);
Arguments
q
The request queue to return the sdev from
Overview
Return the sdev associated with a request queue or NULL if the request_queue does not reference a SCSI device.