]> git.baikalelectronics.ru Git - kernel.git/commit
9p: restrict RDMA usage
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 12 Nov 2008 11:05:17 +0000 (11:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2008 07:33:57 +0000 (23:33 -0800)
commit33435f6a57783b382ce56c68b8df6be36884b572
treeba93b3290e87e302e295f6bd981f159127a36ee5
parentf7faebd792ee9ff53e00f73ccbe5b38a7f86b845
9p: restrict RDMA usage

Make 9p's RDMA option depend on INET since it uses Infiniband rdma_*
functions and that code depends on INET.  Otherwise 9p can try to
use symbols which don't exist.

ERROR: "rdma_destroy_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_connect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_qp" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_route" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_disconnect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_addr" [net/9p/9pnet_rdma.ko] undefined!

I used an if/endif block so that the menu items would remain
presented together.

Also correct an article adjective.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/9p/Kconfig