diff options
author | Tejun Heo <htejun@gmail.com> | 2006-08-08 01:08:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-09 01:16:27 -0400 |
commit | 22aac0896b1b0b8cabaf00714c55dd12f25d5738 (patch) | |
tree | fbae079c8ca9b22103a1e11439ae8b738d756c72 /include/asm-m68knommu/m68360_pram.h | |
parent | 85455dd34219376dcc7dce94bea67058f0b7d731 (diff) |
[PATCH] libata: clear sdev->locked on door lock failure
SCSI EH locks door if sdev->locked is set. Sometimes door lock
command fails continuously (e.g. when medium is not present) and as
libata uses EH to acquire sense data, this easily creates a loop where
a failed lock door invokes EH and EH issues lock door on completion.
This patch clears sdev->locked on door lock failure to break this
loop. This problem has been spotted and diagnosed by Unicorn Chang
<uchang@tw.ibm.com>.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-m68knommu/m68360_pram.h')
0 files changed, 0 insertions, 0 deletions