[SCSI] mpt2sas: add query task support for MPT2COMMAND ioctl
authorEric Moore <eric.moore@lsi.com>
Mon, 18 May 2009 19:01:29 +0000 (13:01 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:17 +0000 (15:44 -0500)
commitddf59a35e98aa12255ed64c892271339504cc65c
treebe79aacc3ee850ca8073806fd0a9a6e5f8263c2f
parent993e0da7b767c0a7c1fd0079b16f3d28e6f25a48
[SCSI] mpt2sas: add query task support for MPT2COMMAND ioctl

This patch will find an active mid for a query_task request via the ioctl path.

This code is already there for task_abort, so this patch combining code using
the same fuction _ctl_set_task_mid(), previously _ctl_do_task_abort().

Signed-off-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mpt2sas/mpt2sas_ctl.c