From: Jeff Garzik Date: Wed, 31 Aug 2005 01:52:18 +0000 (-0400) Subject: [libata] fix ATAPI-enable typo X-Git-Tag: v2.6.14-rc1~772^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6f1062330499cee10396bf3fc66a03eb228c5fad;p=linux-2.6-omap-h63xx.git [libata] fix ATAPI-enable typo Dumb typo spotted by Mark Lord. --- diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 55823765425..104fd9a63e7 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c @@ -1470,7 +1470,7 @@ ata_scsi_find_dev(struct ata_port *ap, struct scsi_device *scsidev) if (unlikely(!ata_dev_present(dev))) return NULL; - if (atapi_enabled) { + if (!atapi_enabled) { if (unlikely(dev->class == ATA_DEV_ATAPI)) return NULL; }