diff options
author | Bodo Stroesser <[email protected]> | 2020-07-26 17:35:03 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-28 22:25:25 -0400 |
commit | f5e2714ad1a62d23cd8e8af07d438912d8115fae (patch) | |
tree | b951157ebf684e69426a2c57489b0badd7fb4b4b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | df2de6f2862984b55e93931faf7b481a7b98396d (diff) |
scsi: target: Modify core_tmr_abort_task()
This patch modifies core_tmr_abort_task() to use same looping and locking
scheme as core_tmr_drain_state_list() does.
This frees the state_list element in se_cmd for later use by tmr
notification handling.
Note: __target_check_io_state() now is called with param 0 instead of
dev->dev_attrib.emulate_tas, because tas is not relevant since we always
get ABRT on same session like the aborted command.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Bodo Stroesser <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions