瀏覽代碼

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
  9p: restrict RDMA usage
Linus Torvalds 16 年之前
父節點
當前提交
4d41e12166
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      net/9p/Kconfig

+ 6 - 4
net/9p/Kconfig

@@ -13,22 +13,24 @@ menuconfig NET_9P
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 
+if NET_9P
+
 config NET_9P_VIRTIO
 config NET_9P_VIRTIO
-	depends on NET_9P && EXPERIMENTAL && VIRTIO
+	depends on EXPERIMENTAL && VIRTIO
 	tristate "9P Virtio Transport (Experimental)"
 	tristate "9P Virtio Transport (Experimental)"
 	help
 	help
 	  This builds support for a transports between
 	  This builds support for a transports between
 	  guest partitions and a host partition.
 	  guest partitions and a host partition.
 
 
 config NET_9P_RDMA
 config NET_9P_RDMA
-	depends on NET_9P && INFINIBAND && EXPERIMENTAL
+	depends on INET && INFINIBAND && EXPERIMENTAL
 	tristate "9P RDMA Transport (Experimental)"
 	tristate "9P RDMA Transport (Experimental)"
 	help
 	help
-	  This builds support for a RDMA transport.
+	  This builds support for an RDMA transport.
 
 
 config NET_9P_DEBUG
 config NET_9P_DEBUG
 	bool "Debug information"
 	bool "Debug information"
-	depends on NET_9P
 	help
 	help
 	  Say Y if you want the 9P subsystem to log debug information.
 	  Say Y if you want the 9P subsystem to log debug information.
 
 
+endif