summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/stats.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-08 17:49:24 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-08 17:49:24 +0100
commit9446389ef612096704fdf18fa79bab423d4110f0 (patch)
tree3e4fda7270be58ae176d20d318e61fb115b325b5 /net/sunrpc/stats.c
parentMerge branch 'cleanups' into next (diff)
parentx86_64: make ptrace always sign-extend orig_ax to 64 bits (diff)
downloadlinux-9446389ef612096704fdf18fa79bab423d4110f0.tar.xz
linux-9446389ef612096704fdf18fa79bab423d4110f0.zip
Merge commit 'origin' into devel
Diffstat (limited to 'net/sunrpc/stats.c')
-rw-r--r--net/sunrpc/stats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c
index 5a16875f5ac8..c6061a4346c8 100644
--- a/net/sunrpc/stats.c
+++ b/net/sunrpc/stats.c
@@ -229,9 +229,8 @@ do_register(const char *name, void *data, const struct file_operations *fops)
rpc_proc_init();
dprintk("RPC: registering /proc/net/rpc/%s\n", name);
- ent = create_proc_entry(name, 0, proc_net_rpc);
+ ent = proc_create(name, 0, proc_net_rpc, fops);
if (ent) {
- ent->proc_fops = fops;
ent->data = data;
}
return ent;