commit | 857de6e00778738dc3d61f75acbac35bdc48e533 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Fri Feb 17 09:02:45 2017 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Feb 22 18:41:42 2017 -0500 |
tree | 6c50408c15f9326270e4680636b3e8fa6379000b | |
parent | f22aaec97d889f3fbf89b185309bdc98b8202eda [diff] |
scsi: use 'scsi_device_from_queue()' for scsi_dh The device handler needs to check if a given queue belongs to a scsi device; only then does it make sense to attach a device handler. [mkp: dropped flags] Cc: <stable@vger.kernel.org> Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>