NAME
scsi_device_from_queue - return sdev associated with a request_queue
SYNOPSIS
struct scsi_device * scsi_device_from_queue(struct request_queue * q);
ARGUMENTS
q
The request queue to return the sdev from
DESCRIPTION
Return the sdev associated with a request queue or NULL if the request_queue does not reference a SCSI device.
AUTHORS
James Bottomley <[email protected]>
Author.
Rob Landley <[email protected]>
Author.