qla2xxx: release request queue reservation.
authorQuinn Tran <quinn.tran@qlogic.com>
Wed, 10 Jun 2015 15:05:20 +0000 (11:05 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 24 Jul 2015 21:19:11 +0000 (14:19 -0700)
commit810e30bc4658e9c069577bde52394a5af872803c
treea8014e5a7244152aa6335948c6da009a4837ba9f
parent3761f3e8704878b1d3db9751f5c6db6fc918032f
qla2xxx: release request queue reservation.

Request IOCB queue element(s) is reserved during
good path IO.  Under error condition such as unable
to allocate IOCB handle condition, the IOCB count
that was reserved is not released.

Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: Quinn Tran <quinn.tran@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.c