All error handling paths in this function go through
'iscsi_host_dec_session_cnt()' except this one.
Fix it and properly decrement the number of active sessions in such a case.
Signed-off-by: Christophe JAILLET
---
drivers/scsi/libiscsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
On Thursday, September 14, 2017 at 12:57:58 AM UTC-7, Johannes Thumshirn
wrote:
>
> On Wed, Sep 13, 2017 at 05:09:03PM -0700, Lee Duncan wrote:
> > On 07/13/2017 09:11 AM, Khazhismel Kumykov wrote:
> > > iscsi_session_teardown was the only user of this function. Function
> > > currently is just
On Wed, Sep 13, 2017 at 05:09:03PM -0700, Lee Duncan wrote:
> On 07/13/2017 09:11 AM, Khazhismel Kumykov wrote:
> > iscsi_session_teardown was the only user of this function. Function
> > currently is just short for iscsi_remove_session + iscsi_free_session.
> >
> > Signed-off-by: Khazhismel Kumyk