projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c781bf
)
libata: remove reading alt_status from ata_hsm_qc_complete()
author
Albert Lee
<albertcc@tw.ibm.com>
Thu, 28 Jun 2007 02:05:31 +0000
(10:05 +0800)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 2 Jul 2007 14:12:34 +0000
(10:12 -0400)
In ata_hsm_qc_complete():
Calling ata_altstatus() after the qc is completed might race with next qc. Remove it.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index bfc59a10472826ec1d07555943cb6f7531af0aa1..95671d6a0ce5c631d88c849972b7fdc86d801fd5 100644
(file)
--- a/
drivers/ata/libata-core.c
+++ b/
drivers/ata/libata-core.c
@@
-4781,8
+4781,6
@@
static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq)
} else
ata_qc_complete(qc);
}
-
- ata_altstatus(ap); /* flush */
}
/**