diff options
Diffstat (limited to 'net/rose/af_rose.c')
-rw-r--r-- | net/rose/af_rose.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index c4719ce604c2..5fd8aacbb5ae 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c | |||
@@ -1575,10 +1575,13 @@ static int __init rose_proto_init(void) | |||
1575 | 1575 | ||
1576 | rose_add_loopback_neigh(); | 1576 | rose_add_loopback_neigh(); |
1577 | 1577 | ||
1578 | proc_net_fops_create(&init_net, "rose", S_IRUGO, &rose_info_fops); | 1578 | proc_create("rose", S_IRUGO, init_net.proc_net, &rose_info_fops); |
1579 | proc_net_fops_create(&init_net, "rose_neigh", S_IRUGO, &rose_neigh_fops); | 1579 | proc_create("rose_neigh", S_IRUGO, init_net.proc_net, |
1580 | proc_net_fops_create(&init_net, "rose_nodes", S_IRUGO, &rose_nodes_fops); | 1580 | &rose_neigh_fops); |
1581 | proc_net_fops_create(&init_net, "rose_routes", S_IRUGO, &rose_routes_fops); | 1581 | proc_create("rose_nodes", S_IRUGO, init_net.proc_net, |
1582 | &rose_nodes_fops); | ||
1583 | proc_create("rose_routes", S_IRUGO, init_net.proc_net, | ||
1584 | &rose_routes_fops); | ||
1582 | out: | 1585 | out: |
1583 | return rc; | 1586 | return rc; |
1584 | fail: | 1587 | fail: |