[SCSI] Deprecate SCSI_PROT_*_CONVERT operations
commitc6af404215bab0d333accbb497f835d10cb0050c
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Sep 2009 21:32:59 +0000 (18 17:32 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 2 Oct 2009 14:46:25 +0000 (2 09:46 -0500)
treefc58c360c3d678405b4bd38fd7894af9c8b91edd
parent6e883b0e42739aa560133cfaf41be1138c51a500
[SCSI] Deprecate SCSI_PROT_*_CONVERT operations

The checksum format is orthogonal to whether the protection information
is being passed on beyond the HBA or not.  It is perfectly valid to use
a non-T10 CRC with WRITE_STRIP and READ_INSERT.

Consequently it no longer makes sense to explicitly refer to the
conversion in the protection operation.  Update sd_dif and lpfc
accordingly.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Ihab Hamadi <Ihab.Hamadi@Emulex.Com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/sd_dif.c
include/scsi/scsi_cmnd.h