9p: restrict RDMA usage
commit1fa989e80a9a104bf3b81842a5f4c1867d7aa9c4
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 12 Nov 2008 11:05:17 +0000 (12 11:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2008 07:33:57 +0000 (12 23:33 -0800)
treeba93b3290e87e302e295f6bd981f159127a36ee5
parent9c0188acf6dd6990bac9cd906cd554a1476c6d12
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