diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-02-11 22:05:58 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-01 01:12:35 +0300 |
commit | 88936259c6a42c98e23181c9e1bba4b0bddb966a (patch) | |
tree | 94b730fd19465495d95aabff8b54997f86a3408a /net/unix/af_unix.c | |
parent | f130c2205dba8f02372c794c6c4e6cc4906376f4 (diff) | |
download | linux-88936259c6a42c98e23181c9e1bba4b0bddb966a.tar.xz |
IB/srpt: Simplify srpt_shutdown_session()
The target core guarantees that shutdown_session() is only invoked
once per session. This means that the ib_srpt target driver doesn't
have to track whether or not shutdown_session() has been called.
Additionally, ensure that target_sess_cmd_list_set_waiting() is
called before target_wait_for_sess_cmds() by moving it into
srpt_release_channel_work().
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions