[SCSI] sd: Correctly handle all combinations of DIF and DIX
[linux-block.git] / drivers / scsi / sd.h
index 95b9f06534d579bf72797c20ecd5546970f4b190..a92b991d98abc53ebeab58be90669e15cff4122e 100644 (file)
@@ -99,7 +99,7 @@ struct sd_dif_tuple {
 
 #if defined(CONFIG_BLK_DEV_INTEGRITY)
 
-extern void sd_dif_op(struct scsi_cmnd *, unsigned int, unsigned int);
+extern void sd_dif_op(struct scsi_cmnd *, unsigned int, unsigned int, unsigned int);
 extern void sd_dif_config_host(struct scsi_disk *);
 extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int);
 extern void sd_dif_complete(struct scsi_cmnd *, unsigned int);