diff options
| author | Bart Van Assche <[email protected]> | 2020-01-03 11:27:19 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-02-10 22:46:54 -0500 |
| commit | 80363e1b673b242fa5f5578a7b1e3fa03bf4729a (patch) | |
| tree | 77ee3634e66ecccf061352cfaa062b67669f2aa7 /tools/perf/scripts/python/netdev-times.py | |
| parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
scsi: tcm_qla2xxx: Make qlt_alloc_qfull_cmd() set cmd->se_cmd.map_tag
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.
Cc: Himanshu Madhani <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions