isci: fix scic_sds_remote_device_terminate_requests
authorDan Williams <dan.j.williams@intel.com>
Wed, 29 Jun 2011 16:45:48 +0000 (09:45 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:52 +0000 (04:04 -0700)
commit76802ce6756d605fbd7a9a43c196e9a471b3e57c
tree8fd454bc49a4352050aa76f797197a5271ac0d82
parent852809559e4680ba4768262a6c3d21454fcd460e
isci: fix scic_sds_remote_device_terminate_requests

Commit 0815632 "isci: unify remote_device stop_handlers" introduced the
possibility that not all requests get terminated if we reach the
request_count.  Now that we properly reference count devices we don't
need this self-defense and can do the straightforward scan of all active
requests.

Reported-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Acked-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/remote_device.c