[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>
This commit is contained in:
parent
3e695f89c5
commit
10da518168
@ -475,8 +475,9 @@ int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_s
|
||||
|
||||
error:
|
||||
kunmap_atomic(sdt, KM_USER0);
|
||||
sd_printk(KERN_ERR, sdkp, "%s: virt %u, phys %u, ref %u\n",
|
||||
__func__, virt, phys, be32_to_cpu(sdt->ref_tag));
|
||||
sd_printk(KERN_ERR, sdkp, "%s: virt %u, phys %u, ref %u, app %4x\n",
|
||||
__func__, virt, phys, be32_to_cpu(sdt->ref_tag),
|
||||
be16_to_cpu(sdt->app_tag));
|
||||
|
||||
return -EIO;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user