diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-04-14 14:26:06 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-04-16 08:47:21 +0300 |
commit | dc0fafdab88b98581728a574885d0e4d9c6d0640 (patch) | |
tree | 7f0a5f90c6f312f36cbb77aafaf87e5a5de611b8 /drivers/target/target_core_file.c | |
parent | 6ae504082188d25178ac9a22197fee89ebda232c (diff) | |
download | linux-dc0fafdab88b98581728a574885d0e4d9c6d0640.tar.xz |
target: Make core_tmr_abort_task() skip TMFs
The loop in core_tmr_abort_task() iterates over sess_cmd_list.
That list is a list of regular commands and task management
functions (TMFs). Skip TMFs in this loop instead of letting
the target drivers filter out TMFs in their get_task_tag()
callback function.
(Drop bogus check removal in tcm_qla2xxx_get_task_tag - nab)
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: <qla2xxx-upstream@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_file.c')
0 files changed, 0 insertions, 0 deletions