Skip to content

Commit

Permalink
libata: use the WRITE_SAME_16 define
Browse files Browse the repository at this point in the history
Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16
define.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Christoph Hellwig authored and Jeff Garzik committed Dec 17, 2009
1 parent c4bc7d7 commit 0cdd6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
case WRITE_16:
return ata_scsi_rw_xlat;

case 0x93 /*WRITE_SAME_16*/:
case WRITE_SAME_16:
return ata_scsi_write_same_xlat;

case SYNCHRONIZE_CACHE:
Expand Down

0 comments on commit 0cdd6eb

Please sign in to comment.