diff options
author | James Bottomley <James.Bottomley@suse.de> | 2011-01-23 08:31:14 -0600 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-03-02 02:36:45 -0500 |
commit | c34aeebc06e8bdde93e8c8f40d9903b1aaab63c6 (patch) | |
tree | 852e437afe7d0e03d2cfc97986dace7228309114 /include/linux/istallion.h | |
parent | a29b5dad46ee4168c8fc18e47dabbde49790527b (diff) |
libata: fix eh locking
The SCSI host eh_cmd_q should be protected by the host lock (not the
port lock). This probably doesn't matter that much at the moment,
since we try to serialise the add and eh pieces, but it might matter
in future for more convenient error handling. Plus this switches
libata to the standard eh pattern where you lock, remove from the cmd
queue to a local list and unlock and then operate on the local list.
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/istallion.h')
0 files changed, 0 insertions, 0 deletions