From: Himanshu Madhani Date: Thu, 25 Sep 2014 10:14:50 +0000 (-0400) Subject: qla2xxx: fix crash due to task mgmt cmd type X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd9c4eff77fc7412fa79a1a05a2dec2469cc8ca8;p=pandora-kernel.git 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 Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed