Skip to content

Commit

Permalink
[libata] fix ATAPI-enable typo
Browse files Browse the repository at this point in the history
Dumb typo spotted by Mark Lord.
  • Loading branch information
Jeff Garzik committed Aug 31, 2005
1 parent 1623c81 commit 6f10623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6f10623

Please sign in to comment.