]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c5e5235ac047d2bf5b94856114939bb744b667e
tree7a0201a0b4ff509092dd522cac49ee6f77a16fbd
parent94991da6ad9f3b11b09001f82af03f708f0047be
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