target: add a new add_wwn_groups fabrics method
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Mar 2016 11:03:35 +0000 (13:03 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 31 Mar 2016 03:06:44 +0000 (20:06 -0700)
commit839559e10601ed4459c802cbfb69747bf1844078
tree7a0201a0b4ff509092dd522cac49ee6f77a16fbd
parente6e202edf000004422a901dfa301d600e32f17e3
target: add a new add_wwn_groups fabrics method

We need to have the WWN fully initialized before addig default groups to it,
so add a new method to add these groups after the WWN has been initialized.
Also remove the default groups in the core while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c
drivers/target/target_core_fabric_configfs.c
include/target/target_core_fabric.h