commit | 2c7f37ff1c33087b8a4567730ebb128e8572da5e | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Thu Feb 11 11:06:55 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Mon Feb 29 17:12:35 2016 -0500 |
tree | ffc71b886d8bf73524f8a19837b4ab22b9698572 | |
parent | f108f0f66a1f01ab077a88b1da2e2f092acd4b14 [diff] |
IB/srpt: Fix srpt_handle_cmd() error paths The target core function that should be called if target_submit_cmd() fails is target_put_sess_cmd(). Additionally, change the return type of srpt_handle_cmd() from int into void. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Estrin <alex.estrin@intel.com> Cc: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>