From: jack wang Date: Mon, 7 Dec 2009 09:22:36 +0000 (+0800) Subject: [SCSI] pm8001: Fix for sata io circular lock dependency. X-Git-Tag: v2.6.33-rc1~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e79e12554d651f586ff2364e69a8e9cd5e9dbcb;p=pandora-kernel.git [SCSI] pm8001: Fix for sata io circular lock dependency. 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 Signed-off-by: Lindar Liu Signed-off-by: James Bottomley --- Reading git-diff-tree failed