IB/srp: Fix tracking of pending requests during error handling
authorRoland Dreier <rolandd@cisco.com>
Tue, 9 May 2006 17:50:28 +0000 (10:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 9 May 2006 17:50:28 +0000 (10:50 -0700)
commitd945e1df28ca07642b3e1a9b9d07074ba5f76be0
treeff392416f1339dd222b9470c24db1ec4defc1bf5
parentd8b9f23b23e080d820e3c0aa5ccd7834c26ebf96
IB/srp: Fix tracking of pending requests during error handling

If a SCSI abort completes, or the command completes successfully, then
the driver must remove the command from its queue of pending
commands.  Similarly, if a device reset succeeds, then all commands
queued for the given device must be removed from the queue.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h