aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/ucma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
-rw-r--r--drivers/infiniband/core/ucma.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c
index 9f3e2beec91d..8002ae642cfe 100644
--- a/drivers/infiniband/core/ucma.c
+++ b/drivers/infiniband/core/ucma.c
@@ -66,12 +66,6 @@ static ctl_table ucma_ctl_table[] = {
66 { } 66 { }
67}; 67};
68 68
69static struct ctl_path ucma_ctl_path[] = {
70 { .procname = "net" },
71 { .procname = "rdma_ucm" },
72 { }
73};
74
75struct ucma_file { 69struct ucma_file {
76 struct mutex mut; 70 struct mutex mut;
77 struct file *filp; 71 struct file *filp;
@@ -1392,7 +1386,7 @@ static int __init ucma_init(void)
1392 goto err1; 1386 goto err1;
1393 } 1387 }
1394 1388
1395 ucma_ctl_table_hdr = register_net_sysctl_table(&init_net, ucma_ctl_path, ucma_ctl_table); 1389 ucma_ctl_table_hdr = register_net_sysctl(&init_net, "net/rdma_ucm", ucma_ctl_table);
1396 if (!ucma_ctl_table_hdr) { 1390 if (!ucma_ctl_table_hdr) {
1397 printk(KERN_ERR "rdma_ucm: couldn't register sysctl paths\n"); 1391 printk(KERN_ERR "rdma_ucm: couldn't register sysctl paths\n");
1398 ret = -ENOMEM; 1392 ret = -ENOMEM;