Skip to content
Commit 7e8a74b1 authored by Mike Snitzer's avatar Mike Snitzer Committed by James Bottomley
Browse files

[SCSI] scsi_dh: add scsi_dh_attached_handler_name



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: default avatarMike Snitzer <snitzer@redhat.com>
Tested-by: default avatarBabu Moger <babu.moger@netapp.com>
Reviewed-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
Acked-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 6aca4112
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment