commit | dd9c4eff77fc7412fa79a1a05a2dec2469cc8ca8 | [log] [tgz] |
---|---|---|
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | Thu Sep 25 06:14:50 2014 -0400 |
committer | Christoph Hellwig <hch@lst.de> | Thu Sep 25 14:25:07 2014 +0200 |
tree | 30dd0d40c8eed803149bf2783b95b5165ea1ba1c | |
parent | d29fb7360ee61ec02257e9c49848c9d2a05345a0 [diff] |
qla2xxx: fix crash due to task mgmt cmd type tcm_qla2xxx_get_task_tag incorrectly assume command is qla_tgt_cmd. Add check to see if it's a scsi cmd or task mgmt command. Signed-off-by: Quinn Tran <quinn.tran@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>