patch-2.3.30 linux/net/sunrpc/stats.c

Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/net/sunrpc/stats.c linux/net/sunrpc/stats.c
@@ -162,7 +162,7 @@
 	dprintk("RPC: registering /proc/net/rpc\n");
 	if (!proc_net_rpc) {
 		struct proc_dir_entry *ent;
-		ent = create_proc_entry("net/rpc", S_IFDIR, 0);
+		ent = proc_mkdir("net/rpc", 0);
 		if (ent) {
 			ent->owner = THIS_MODULE;
 			proc_net_rpc = ent;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)