[RFC,2/5] SQUASH rbd: fix recursive BLK_DEV_RBD_TCM dependency
diff mbox

Message ID 1438132552-14673-3-git-send-email-ddiss@suse.de
State New
Headers show

Commit Message

David Disseldorp July 29, 2015, 1:15 a.m. UTC
net/Kconfig:5:error: recursive dependency detected!
net/Kconfig:5:  symbol NET is selected by SCSI_NETLINK
drivers/scsi/Kconfig:50:	symbol SCSI_NETLINK is selected by
SCSI_FC_ATTRS
drivers/scsi/Kconfig:276:	symbol SCSI_FC_ATTRS is selected by
LIBFC
drivers/scsi/Kconfig:659:	symbol LIBFC is selected by TCM_QLA2XXX
drivers/scsi/qla2xxx/Kconfig:31:symbol TCM_QLA2XXX depends on
TARGET_CORE
drivers/target/Kconfig:2:	symbol TARGET_CORE is selected by
BLK_DEV_RBD_TCM
drivers/block/Kconfig:537:	symbol BLK_DEV_RBD_TCM depends on
BLK_DEV_RBD
drivers/block/Kconfig:520:	symbol BLK_DEV_RBD depends on INET
net/Kconfig:54: symbol INET depends on NET

Signed-off-by: David Disseldorp <ddiss@suse.de>
---
 drivers/block/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch
diff mbox

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index d517744..fad92be 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -550,8 +550,7 @@  config BLK_DEV_RBD
 
 config BLK_DEV_RBD_TCM
        bool "Clustered TCM using Rados block devices (RBD)"
-       depends on BLK_DEV_RBD
-       select TARGET_CORE
+       depends on BLK_DEV_RBD && TARGET_CORE
        select TCM_IBLOCK
        default n
        help