tcm_qla2xxx: Add NPIV specific enable/disable attribute logic
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 20 Feb 2014 00:52:15 +0000 (16:52 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 20 Feb 2014 21:01:17 +0000 (13:01 -0800)
commit394d62ba4580a74afc90bf0e007e10291bf447cc
treea3c3f103869b896f073bc27581393e2179f6b716
parent3c231bdae1e7c8d366eeb133980b81dff2e1e809
tcm_qla2xxx: Add NPIV specific enable/disable attribute logic

This patch adds seperate logic for NPIV specific enable/disable
attribute logic, as NPIV vs. non-NPIV enable/disable ends up being
different enough to warrent seperate logic for setting configfs
tpg_group dependencies in the non-NPIV case.

Cc: Sawan Chandak <sawan.chandak@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Saurav Kashyap <saurav.kashyap@qlogic.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c