[SCSI] pm8001: Fix for sata io circular lock dependency.
authorjack wang <jack_wang@usish.com>
Mon, 7 Dec 2009 09:22:36 +0000 (17:22 +0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Dec 2009 15:58:54 +0000 (09:58 -0600)
This patch fix for sata IO circular lock dependency. When we call task_done
for SATA IO, we have got pm8001_ha->lock ,and in sas_ata_task_done, it will
get (dev->sata_dev.ap->lock. then cause circular lock dependency .So we
should drop pm8001_ha->lock when we call task_done for SATA task.

Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found