Skip to content
Commit 7481deb4 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

target: Make target_put_sess_cmd use target_release_cmd_kref



This patch moves target_put_sess_cmd() to use a se_cmd->cmd_kref
callback target_release_cmd_kref when performing driver release of
fabric->se_cmd descriptor memory.  It sets the default cmd_kref
count value to '2' within target_get_sess_cmd() setup, and
currently assumes TFO->check_stop_free() usage.

It drops se_tfo->check_release_cmd() usage in the main
transport_release_cmd codepath.

Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent ce136176
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment