projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: proc: change proc_net_fops_create to proc_create
[deliverable/linux.git]
/
net
/
ipv4
/
route.c
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index a0fcc47fee732744baf42bf1e61772faad87982d..3bdd1b1ad1b3a6e9ea0f6898d909b3cc44cded9d 100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-384,8
+384,8
@@
static int __net_init ip_rt_do_proc_init(struct net *net)
{
struct proc_dir_entry *pde;
- pde = proc_
net_fops_create(net, "rt_cache", S_IRUGO
,
- &rt_cache_seq_fops);
+ pde = proc_
create("rt_cache", S_IRUGO, net->proc_net
,
+
&rt_cache_seq_fops);
if (!pde)
goto err1;
This page took
0.024567 seconds
and
5
git commands to generate.