]> git.baikalelectronics.ru Git - kernel.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)
commit951271ce4cbb42519fd4e0a82fb16f20a686b478
tree4b1af31866accd76f16056a842c5a25de182e838
parent148e7aabc0623760ecff367ddb6fa6ecc5442492
[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