diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2012-08-28 14:29:33 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:10:59 -0400 |
commit | 8c579ab69d50a416887390ba4b89598a7b2fa0b6 (patch) | |
tree | 11a552e7ebcc13c1a15ca764da04bece358d26a1 /drivers/scsi/sd.h | |
parent | b656688a90175d4c424a2f02264863ede7e82d7b (diff) |
[SCSI] sd: Avoid remapping bad reference tags
It does not make sense to translate ref tags with unexpected values.
Instead we simply ignore them and let the upper layers catch the
problem. Ref tags that contain the expected value are still remapped.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r-- | drivers/scsi/sd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h index f703f4827b6f..47c52a6d733c 100644 --- a/drivers/scsi/sd.h +++ b/drivers/scsi/sd.h | |||
@@ -156,7 +156,7 @@ struct sd_dif_tuple { | |||
156 | #ifdef CONFIG_BLK_DEV_INTEGRITY | 156 | #ifdef CONFIG_BLK_DEV_INTEGRITY |
157 | 157 | ||
158 | extern void sd_dif_config_host(struct scsi_disk *); | 158 | extern void sd_dif_config_host(struct scsi_disk *); |
159 | extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int); | 159 | extern void sd_dif_prepare(struct request *rq, sector_t, unsigned int); |
160 | extern void sd_dif_complete(struct scsi_cmnd *, unsigned int); | 160 | extern void sd_dif_complete(struct scsi_cmnd *, unsigned int); |
161 | 161 | ||
162 | #else /* CONFIG_BLK_DEV_INTEGRITY */ | 162 | #else /* CONFIG_BLK_DEV_INTEGRITY */ |