summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-29 02:25:53 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-29 02:25:53 +0100
commit4ad96d39a2d74c1b2e400b602da2594f5098fc26 (patch)
tree570666522e544892feba440728a59f336e13c3dd /net/ipv6/udp.c
parent[UDP]: Place file operations directly into udp_seq_afinfo. (diff)
downloadlinux-4ad96d39a2d74c1b2e400b602da2594f5098fc26.tar.xz
linux-4ad96d39a2d74c1b2e400b602da2594f5098fc26.zip
[UDP]: Remove owner from udp_seq_afinfo.
Move it to udp_seq_afinfo->seq_fops as should be. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index ff8d53ecdd60..30ef7dc5d403 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -978,10 +978,12 @@ int udp6_seq_show(struct seq_file *seq, void *v)
}
static struct udp_seq_afinfo udp6_seq_afinfo = {
- .owner = THIS_MODULE,
.name = "udp6",
.family = AF_INET6,
.hashtable = udp_hash,
+ .seq_fops = {
+ .owner = THIS_MODULE,
+ },
.seq_ops = {
.show = udp6_seq_show,
},