diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-31 03:52:18 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-31 03:52:18 +0200 |
commit | 6f1062330499cee10396bf3fc66a03eb228c5fad (patch) | |
tree | 157728e07af3efc756737108b01f9feee40eb360 /drivers | |
parent | [libata] allow ATAPI to be enabled with new atapi_enabled module option (diff) | |
download | linux-6f1062330499cee10396bf3fc66a03eb228c5fad.tar.xz linux-6f1062330499cee10396bf3fc66a03eb228c5fad.zip |
[libata] fix ATAPI-enable typo
Dumb typo spotted by Mark Lord.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 55823765425c..104fd9a63e73 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; } |