[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>
此提交包含在:
@@ -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;
|
||||
|
新增問題並參考
封鎖使用者