diff options
| author | Roland Dreier <[email protected]> | 2012-07-16 18:04:42 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2012-07-17 00:35:27 +0000 |
| commit | 1c7b13fe65269960f63082eafccede547191ab02 (patch) | |
| tree | 2c2d7f46ab88c31f3b347394ef0d51eb9d11ab8c /lib/dma-debug.c | |
| parent | qla2xxx: Remove racy, now-redundant check of sess_tearing_down (diff) | |
| download | kernel-1c7b13fe65269960f63082eafccede547191ab02.tar.gz kernel-1c7b13fe65269960f63082eafccede547191ab02.zip | |
target: Remove se_session.sess_wait_list
Since we set se_session.sess_tearing_down and stop new commands from
being added to se_session.sess_cmd_list before we wait for commands to
finish when freeing a session, there's no need for a separate
sess_wait_list -- if we let new commands be added to sess_cmd_list
after setting sess_tearing_down, that would be a bug that breaks the
logic of waiting in-flight commands.
Also rename target_splice_sess_cmd_list() to
target_sess_cmd_list_set_waiting(), since we are no longer splicing
onto a separate list.
Signed-off-by: Roland Dreier <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
