tree 157728e07af3efc756737108b01f9feee40eb360
parent 1623c81eece58740279b8de802fa5895221f2044
author Jeff Garzik <[EMAIL PROTECTED]> Wed, 31 Aug 2005 05:52:18 -0400
committer Jeff Garzik <[EMAIL PROTECTED]> Wed, 31 Aug 2005 05:52:18 -0400

[libata] fix ATAPI-enable typo

Dumb typo spotted by Mark Lord.

 drivers/scsi/libata-scsi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -1470,7 +1470,7 @@ ata_scsi_find_dev(struct ata_port *ap, s
        if (unlikely(!ata_dev_present(dev)))
                return NULL;
 
-       if (atapi_enabled) {
+       if (!atapi_enabled) {
                if (unlikely(dev->class == ATA_DEV_ATAPI))
                        return NULL;
        }
-
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