[SCSI] ibmvfc: Properly set cancel flags when cancelling abort
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 12 Apr 2013 13:25:15 +0000 (08:25 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 18:50:23 +0000 (11:50 -0700)
commitf8804b7239b27baca1ab44344318acb8fd55f9ae
treec000d21c8a02d0653413eeae718f0690f175662a
parent96e58ce0f64a9d34a4bbeb7916884f327baa5ff1
[SCSI] ibmvfc: Properly set cancel flags when cancelling abort

The flags on a cancel operation are intended to indicate what,
if any, TMF will follow the cancel request. This fixes a case
where we were incorrectly setting the abort task set flag on
the cancel flag when we were cancelling an abort task set.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ibmvscsi/ibmvfc.c