projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b719f43
)
[libata] ahci: Fix lack of command retry after a success error handler.
author
Bian Yu
<bianyu@kedacom.com>
Thu, 13 Dec 2012 03:26:58 +0000
(22:26 -0500)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 14 Jan 2013 18:05:17 +0000
(13:05 -0500)
It should be a mistake introduced by commit
8d899e70c1b3afff
.
qc->flags can't be set AC_ERR_*
Signed-off-by: Bian Yu <bianyu@kedacom.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-eh.c
b/drivers/ata/libata-eh.c
index bf039b0e97b79d7f9c9d2bae803ad84850b181b4..bcf4437214f50141e2d1bfe17a0ad02af6f4d81b 100644
(file)
--- a/
drivers/ata/libata-eh.c
+++ b/
drivers/ata/libata-eh.c
@@
-2094,7
+2094,7
@@
static unsigned int ata_eh_speed_down(struct ata_device *dev,
*/
static inline int ata_eh_worth_retry(struct ata_queued_cmd *qc)
{
- if (qc->
flags
& AC_ERR_MEDIA)
+ if (qc->
err_mask
& AC_ERR_MEDIA)
return 0; /* don't retry media errors */
if (qc->flags & ATA_QCFLAG_IO)
return 1; /* otherwise retry anything from fs stack */