]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] isci: kill isci_port->status
authorDan Williams <dan.j.williams@intel.com>
Wed, 4 Jan 2012 07:26:15 +0000 (23:26 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:11:19 +0000 (15:11 -0600)
commitfca4ecbdc440337b3c257b38c2f4cc8d0ca0286c
tree4b1af31866accd76f16056a842c5a25de182e838
parentc132f692085ac624d7c8123df781846c8dcb3166
[SCSI] isci: kill isci_port->status

It only tracks whether the port is stopping in order to gate new devices
being discovered while the port is stopping.  However, since the check
and subsequent handling is unlocked there is nothing to stop the port
from going down immediately after the check.

Driver is already prepared to handle devices arriving on stale ports,
and those will be cleaned up by an eventual ->lldd_dev_gone()
notification.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/port.c
drivers/scsi/isci/port.h
drivers/scsi/isci/remote_device.c