summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@suse.de>2011-01-23 15:31:14 +0100
committerJames Bottomley <James.Bottomley@suse.de>2011-02-13 20:16:41 +0100
commit4451ef63e1a881eb275eb16dd1980491eea709de (patch)
tree77494fc00d18ce36af9c784f5c865d73cd9528dc /include
parent[SCSI] libata: fix locking for sas paths (diff)
downloadlinux-4451ef63e1a881eb275eb16dd1980491eea709de.tar.xz
linux-4451ef63e1a881eb275eb16dd1980491eea709de.zip
[SCSI] 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. Cc: Tejun Heo <tj@kernel.org> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions