tcm_qla2xxx: Convert to target_alloc_session usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 9 Jan 2016 14:47:58 +0000 (06:47 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Mar 2016 05:45:31 +0000 (21:45 -0800)
commit1b655b19e28b70a45db2e30b5a864af503afff89
tree90529ef2b5b788a9cfd3b72b3cdda43b344be5d2
parent65ea789869a519b63382418bb38ba61b62ec4b4c
tcm_qla2xxx: Convert to target_alloc_session usage

This patch converts existing qla2xxx target mode assignment
of struct qla_tgt_sess related sid + loop_id values to use
a callback via the new target_alloc_session API caller.

Cc: Himanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h
drivers/scsi/qla2xxx/tcm_qla2xxx.c