Skip to contentSkip to conversation

tcm_qla2xxx: Make qlt_alloc_qfull_cmd() set cmd->se_cmd.map_tag

PATCH Martin K. Petersen 1 participant 1 message Jan 28, 2020 SCSI target

lore
Share & tools
lore

Martin K. Petersen

author Applied
#0 lore raw
Quoted 6 lines

Reduce code duplication by introducing the tcm_qla2xxx_{get,rel}_cmd() functions. Introduce these functions in the tcm_qla2xxx.c source files such that the qla_target.c source file becomes independent of the SCSI target core header files. This patch fixes a bug, namely by ensuring that qlt_alloc_qfull_cmd() sets cmd->se_cmd.map_tag.

Applied to 5.7/scsi-queue. Thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering