]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/target/tcm_fc/tfc_sess.c
scsi: target: rename target_alloc_session
[mirror_ubuntu-hirsute-kernel.git] / drivers / target / tcm_fc / tfc_sess.c
index c91979c1463d95899f909bfe62b9f2d47eb2c1cc..efd7d5e5bfc40eb9dc5bc1bff8201f5ef04254b5 100644 (file)
@@ -239,7 +239,7 @@ static struct ft_sess *ft_sess_create(struct ft_tport *tport, u32 port_id,
        sess->tport = tport;
        sess->port_id = port_id;
 
-       sess->se_sess = target_alloc_session(se_tpg, TCM_FC_DEFAULT_TAGS,
+       sess->se_sess = target_setup_session(se_tpg, TCM_FC_DEFAULT_TAGS,
                                             sizeof(struct ft_cmd),
                                             TARGET_PROT_NORMAL, &initiatorname[0],
                                             sess, ft_sess_alloc_cb);