diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-01-04 03:04:32 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-05 10:05:05 -0500 |
commit | 10da5181688886758ce162705aaad8131b963e99 (patch) | |
tree | 6aee02a11a6cdd74ba7323e5c8aead08b5d293c9 | |
parent | 3e695f89c5debb735e4ff051e9e58d8fb4e95110 (diff) |
[SCSI] sd: DIF: Show app tag on error
Add application tag to the output displayed on error.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | drivers/scsi/sd_dif.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/sd_dif.c b/drivers/scsi/sd_dif.c index 3ebb1f289490..2fe590f095fc 100644 --- a/drivers/scsi/sd_dif.c +++ b/drivers/scsi/sd_dif.c | |||
@@ -475,8 +475,9 @@ int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_s | |||
475 | 475 | ||
476 | error: | 476 | error: |
477 | kunmap_atomic(sdt, KM_USER0); | 477 | kunmap_atomic(sdt, KM_USER0); |
478 | sd_printk(KERN_ERR, sdkp, "%s: virt %u, phys %u, ref %u\n", | 478 | sd_printk(KERN_ERR, sdkp, "%s: virt %u, phys %u, ref %u, app %4x\n", |
479 | __func__, virt, phys, be32_to_cpu(sdt->ref_tag)); | 479 | __func__, virt, phys, be32_to_cpu(sdt->ref_tag), |
480 | be16_to_cpu(sdt->app_tag)); | ||
480 | 481 | ||
481 | return -EIO; | 482 | return -EIO; |
482 | } | 483 | } |