net: proc: change proc_net_fops_create to proc_create
[deliverable/linux.git] / net / unix / af_unix.c
index 0c612361c1534fa3edaaa0961873f2351371ee5e..0c479b6f407c84963a5066dbd9f3676e0d1cf590 100644 (file)
@@ -2402,7 +2402,7 @@ static int __net_init unix_net_init(struct net *net)
                goto out;
 
 #ifdef CONFIG_PROC_FS
-       if (!proc_net_fops_create(net, "unix", 0, &unix_seq_fops)) {
+       if (!proc_create("unix", 0, net->proc_net, &unix_seq_fops)) {
                unix_sysctl_unregister(net);
                goto out;
        }
This page took 0.025132 seconds and 5 git commands to generate.