]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] sd: Return correct error code for DIF
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Nov 2009 05:39:12 +0000 (00:39 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 26 Nov 2009 14:54:46 +0000 (08:54 -0600)
commiteb21af0c11c97f4c056fa5b3a1f4b21af4063c9b
tree51314d64bafe0043891853658b2e6e605ac2ffce
parent39bfcc6c679da0ba40f9d186140a8bf7d4c73465
[SCSI] sd: Return correct error code for DIF

sd_dif.c was not updated to return -EILSEQ, leading to error handling
failures in applications which provide their own integrity metadata (as
opposed to being protected by the block layer functions).

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/sd_dif.c