mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
Introduce scsi_dh_attached_handler_name() to retrieve the name of the
scsi_dh that is attached to the scsi_device associated with the provided
request queue. Returns NULL if a scsi_dh is not attached.
Also, fix scsi_dh_{attach,detach} function header comments to document
@q rather than @sdev.
Signed-off-by: Mike Snitzer <[email protected]>
Tested-by: Babu Moger <[email protected]>
Reviewed-by: Chandra Seetharaman <[email protected]>
Acked-by: Hannes Reinecke <[email protected]>
Signed-off-by: James Bottomley <[email protected]>