mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
target: remove ->put_session method
The only instance of ->put_session is in qla2xxx, and was added by commit
aaf68b ("tcm_qla2xxx: Convert to TFO->put_session() usage") with the following
description:
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.
But these day we're already holding the hardware lock over qlt_unreg_sess in
the ->close_session callback, so we're fine without this method.
(Re-add missing tcm_qla2xxx_release_session + drop put_session usage - nab)
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
7ad34a9367
commit
afe92323f9
4 changed files with 0 additions and 21 deletions
|
|
@ -1817,7 +1817,6 @@ static const struct target_core_fabric_ops scsiback_ops = {
|
|||
.tpg_get_inst_index = scsiback_tpg_get_inst_index,
|
||||
.check_stop_free = scsiback_check_stop_free,
|
||||
.release_cmd = scsiback_release_cmd,
|
||||
.put_session = NULL,
|
||||
.shutdown_session = scsiback_shutdown_session,
|
||||
.close_session = scsiback_close_session,
|
||||
.sess_get_index = scsiback_sess_get_index,
|
||||
|
|
|
|||
Loading…
Reference in a new issue