[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>
此提交包含在:
Dan Williams
2012-01-03 23:26:15 -08:00
提交者 James Bottomley
父節點 c132f69208
當前提交 fca4ecbdc4
共有 3 個檔案被更改,包括 11 行新增87 行删除

查看文件

@@ -1394,10 +1394,6 @@ int isci_remote_device_found(struct domain_device *dev)
if (!isci_port)
return -ENODEV;
if ((isci_stopping == isci_port_get_state(isci_port)) ||
(isci_stopped == isci_port_get_state(isci_port)))
return -ENODEV;
isci_device = isci_remote_device_alloc(isci_host, isci_port);
if (!isci_device)
return -ENODEV;