]> git.baikalelectronics.ru Git - kernel.git/commit
fnic: fix fnic_scsi_host_{start,end}_tag
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Nov 2018 08:30:44 +0000 (09:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 15:03:44 +0000 (08:03 -0700)
commitdc63bc627e1ced9ceceb9f70cea8c7ccb34d634c
tree1caff1ffce2391e2abf3cccace4437dcd6dd69bc
parent242856774647c3db26ba3a376a94a1cff0a46aae
fnic: fix fnic_scsi_host_{start,end}_tag

The way these functions abuse ->special to try to store the dummy
request looks completely broken, given that it actually stores the
original scsi command.

Instead switch to ->host_scribble and store the actual dummy command.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/fnic/fnic_scsi.c