diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-02-11 22:06:55 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-01 01:12:35 +0300 |
commit | 2c7f37ff1c33087b8a4567730ebb128e8572da5e (patch) | |
tree | ffc71b886d8bf73524f8a19837b4ab22b9698572 /net/unix/af_unix.c | |
parent | f108f0f66a1f01ab077a88b1da2e2f092acd4b14 (diff) | |
download | linux-2c7f37ff1c33087b8a4567730ebb128e8572da5e.tar.xz |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions