summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@suse.de>2011-01-23 08:31:14 -0600
committerJames Bottomley <James.Bottomley@suse.de>2011-02-13 13:16:41 -0600
commit4451ef63e1a881eb275eb16dd1980491eea709de (patch)
tree77494fc00d18ce36af9c784f5c865d73cd9528dc /include
parentb8784f77455124ceb4746e798f7aaf5b3b8a5406 (diff)
downloadop-kernel-dev-4451ef63e1a881eb275eb16dd1980491eea709de.zip
op-kernel-dev-4451ef63e1a881eb275eb16dd1980491eea709de.tar.gz
[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
OpenPOWER on IntegriCloud