iscsi-target: Introduce session_get_next_ttt
authorSagi Grimberg <sagig@mellanox.com>
Mon, 26 Jan 2015 10:49:05 +0000 (12:49 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 4 Feb 2015 18:55:33 +0000 (10:55 -0800)
commitc1e34b64044318dde74a4cec24a91ff6415f1c48
treedfe7ec5ff63a5abdb800bb90e6fee41b9dbacaad
parent631af550621071d56abe2edbb63d9afd4f4dafcf
iscsi-target: Introduce session_get_next_ttt

Reduce code duplication.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_util.c
include/target/iscsi/iscsi_target_core.h