Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: fnic: Stop setting scsi_cmnd.tag

It is never read. Setting it and the request tag seems dodgy anyway.

Link: https://lore.kernel.org/r/1628862553-179450-3-git-send-email-john.garry@huawei.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

John Garry and committed by
Martin K. Petersen
e0aebd25 e2a1dc57

+1 -1
+1 -1
drivers/scsi/fnic/fnic_scsi.c
··· 2213 2213 if (IS_ERR(dummy)) 2214 2214 return SCSI_NO_TAG; 2215 2215 2216 - sc->tag = rq->tag = dummy->tag; 2216 + rq->tag = dummy->tag; 2217 2217 sc->host_scribble = (unsigned char *)dummy; 2218 2218 2219 2219 return dummy->tag;