]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
tcm_qla2xxx: Convert to TFO->put_session() usage
authorJoern Engel <joern@logfs.org>
Fri, 18 May 2012 20:58:23 +0000 (13:58 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Jun 2012 02:37:47 +0000 (19:37 -0700)
commitaaf68b753313f1e67fd2e8996e32ab2813f441fa
tree6cf09eb22c16e668f976a2a885271395d6b1923a
parent4149268e7816d719b0fde8e89aaa6db8c168fc43
tcm_qla2xxx: Convert to TFO->put_session() usage

This patch converts tcm_qla2xxx code to use an internal kref_put() for
se_session->sess_kref in order to ensure that qla_hw_data->hardware_lock
can be held while calling qlt_unreg_sess() for the final put.

Signed-off-by: Joern Engel <joern@logfs.org>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c