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
/
arp.c
diff --git
a/net/ipv4/arp.c
b/net/ipv4/arp.c
index ded146b217f10dbd511da977fe1e146f848c8272..b04c114ef0551097080d4941916dbe1ea3a79e39 100644
(file)
--- a/
net/ipv4/arp.c
+++ b/
net/ipv4/arp.c
@@
-1405,7
+1405,7
@@
static const struct file_operations arp_seq_fops = {
static int __net_init arp_net_init(struct net *net)
{
- if (!proc_
net_fops_create(net, "arp", S_IRUGO
, &arp_seq_fops))
+ if (!proc_
create("arp", S_IRUGO, net->proc_net
, &arp_seq_fops))
return -ENOMEM;
return 0;
}
This page took
0.023357 seconds
and
5
git commands to generate.