diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-02-14 16:25:54 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-02-20 14:37:19 -0800 |
commit | 51ec502a32665fed66c7f03799ede4023b212536 (patch) | |
tree | 66a18d81d892bbd9c3b0802df537eef8fc4b8f70 /include/target | |
parent | e3b88ee95b4e4bf3e9729a4695d695b9c7c296c8 (diff) | |
download | linux-51ec502a32665fed66c7f03799ede4023b212536.tar.bz2 |
target: Delete tmr from list before processing
This patch does an explicit list_del_init(tmr->tmr_list) in
core_tmr_drain_tmr_list() before starting processing of
outstanding TMRs to abort, instead of explicitly checking
which TMR descriptor matches the caller.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions