Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=74cdbba42dd515887ef3fc0ab498e70bd086c075
Commit:     74cdbba42dd515887ef3fc0ab498e70bd086c075
Parent:     8c781bf77a339748839bfd5eedfe2ad3e0e05c4a
Author:     Albert Lee <[EMAIL PROTECTED]>
AuthorDate: Thu Jun 28 10:05:31 2007 +0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Mon Jul 2 10:12:34 2007 -0400

    libata: remove reading alt_status from ata_hsm_qc_complete()
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/libata-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index bfc59a1..95671d6 100644
--- 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 */
 }
 
 /**
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to