scsi: qedf: Check for tm_flags instead of cmd_type during cleanup
authorSaurav Kashyap <skashyap@marvell.com>
Tue, 26 Mar 2019 07:38:54 +0000 (00:38 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Mar 2019 01:54:53 +0000 (21:54 -0400)
commitf2c98af4a27ddd93c7fe1490a62feb363c953085
tree0f3885dd383bc7f68b9890536a2be041e5192add
parentfeac47f507879f7b786fe4b1327fd09596518d7a
scsi: qedf: Check for tm_flags instead of cmd_type during cleanup

cmd_type is over written to QEDF_CLEANUP during cleanup, so check for
tm_flags.

Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_io.c