]> git.baikalelectronics.ru Git - kernel.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)
commit52ba93ff45851728859ca41c880bc9e6148f9c57
tree11a552e7ebcc13c1a15ca764da04bece358d26a1
parentc2678855e1c2479c8e444a2eb1b7a0f9c6a65d18
[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