mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
libata: fix EH-related lockup by properly cleaning EH command list
Yet another hack due to the fact that libata is the only user of SCSI's ->eh_strategy_handler() hook.
This commit is contained in:
parent
fae009847c
commit
42517438f9
@ -385,6 +385,7 @@ int ata_scsi_error(struct Scsi_Host *host)
|
||||
* appropriate place
|
||||
*/
|
||||
host->host_failed--;
|
||||
INIT_LIST_HEAD(&host->eh_cmd_q);
|
||||
|
||||
DPRINTK("EXIT\n");
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user