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
/
packet
/
af_packet.c
diff --git
a/net/packet/af_packet.c
b/net/packet/af_packet.c
index c111bd0e083a5576d86dfc8f9ad91ab320c46efa..b7b2d56126c4d25a97ad74068d56407beed56cf2 100644
(file)
--- a/
net/packet/af_packet.c
+++ b/
net/packet/af_packet.c
@@
-3828,7
+3828,7
@@
static int __net_init packet_net_init(struct net *net)
mutex_init(&net->packet.sklist_lock);
INIT_HLIST_HEAD(&net->packet.sklist);
- if (!proc_
net_fops_create(net, "packet", 0
, &packet_seq_fops))
+ if (!proc_
create("packet", 0, net->proc_net
, &packet_seq_fops))
return -ENOMEM;
return 0;
This page took
0.024458 seconds
and
5
git commands to generate.