IB/srp: Complete correct SCSI commands on device reset
commit093beac189e4295d968f0d38787b46f76cb0eaaa
authorIshai Rabinovitz <ishai@mellanox.co.il>
Wed, 17 May 2006 16:20:48 +0000 (17 09:20 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 17 May 2006 16:20:48 +0000 (17 09:20 -0700)
treed5d5c476dd06b3ba6a5a7fc4787a3bbdc9d4ba63
parentec2d7208494fe599a5ff13b40a0a20c9881f2737
IB/srp: Complete correct SCSI commands on device reset

When flushing out queued commands after a successful device reset,
make sure that SRP completes the right commands, instead of calling
scsi_done on the command passed into the device reset handler over and
over.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c