]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] sd: Avoid remapping bad reference tags
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Aug 2012 18:29:33 +0000 (14:29 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:59 +0000 (12:10 +0400)
commit8c579ab69d50a416887390ba4b89598a7b2fa0b6
tree11a552e7ebcc13c1a15ca764da04bece358d26a1
parentb656688a90175d4c424a2f02264863ede7e82d7b
[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>
drivers/scsi/sd.c
drivers/scsi/sd.h
drivers/scsi/sd_dif.c