diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-12 00:32:17 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 11:38:29 +0000 |
commit | 7481deb413be132a22193e8a0bce88b311ecb3c2 (patch) | |
tree | 6d417c6856f983cb28fae0717563f4efcd6019e1 /ipc | |
parent | ce136176fea522fc8f4c16dcae7e8ed1d890ca39 (diff) |
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: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions