libata: use the WRITE_SAME_16 define
Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16 define.
Signed-off-by Christoph Hellwig <[email protected]>
drivers/ata/libata-scsi.c +1 -1
@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlcase 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 :
Jeff Garzik
AppliedQuoted 10 lines · Christoph Hellwig
Now that the scsi tree has hit mainline we can use the newly added
WRITE_SAME_16define.Signed-off-by Christoph Hellwig<[email protected]>Index:
linux-2.6/drivers/ata/libata-scsi.c
===================================================================
drivers/ata/libata-scsi.c static inline ata_xlat_func_t ata_get_xl · line 3026
Quoted 6 lines
drivers/ata/libata-scsi.c +1
-1@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlcase WRITE_16 :return ata_scsi_rw_xlat; -case 0x93 /*WRITE_SAME_16*/ : +case WRITE_SAME_16 :return ata_scsi_write_same_xlat;
applied