diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-28 21:25:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 21:25:53 -0400 |
commit | 4ad96d39a2d74c1b2e400b602da2594f5098fc26 (patch) | |
tree | 570666522e544892feba440728a59f336e13c3dd /net/ipv6 | |
parent | 3ba9441bdf07370670a684e6d95dfc523476677f (diff) |
[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')
-rw-r--r-- | net/ipv6/udp.c | 4 | ||||
-rw-r--r-- | net/ipv6/udplite.c | 4 |
2 files changed, 6 insertions, 2 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) | |||
978 | } | 978 | } |
979 | 979 | ||
980 | static struct udp_seq_afinfo udp6_seq_afinfo = { | 980 | static struct udp_seq_afinfo udp6_seq_afinfo = { |
981 | .owner = THIS_MODULE, | ||
982 | .name = "udp6", | 981 | .name = "udp6", |
983 | .family = AF_INET6, | 982 | .family = AF_INET6, |
984 | .hashtable = udp_hash, | 983 | .hashtable = udp_hash, |
984 | .seq_fops = { | ||
985 | .owner = THIS_MODULE, | ||
986 | }, | ||
985 | .seq_ops = { | 987 | .seq_ops = { |
986 | .show = udp6_seq_show, | 988 | .show = udp6_seq_show, |
987 | }, | 989 | }, |
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 5adf651d0721..491efd00a866 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c | |||
@@ -97,10 +97,12 @@ void udplitev6_exit(void) | |||
97 | 97 | ||
98 | #ifdef CONFIG_PROC_FS | 98 | #ifdef CONFIG_PROC_FS |
99 | static struct udp_seq_afinfo udplite6_seq_afinfo = { | 99 | static struct udp_seq_afinfo udplite6_seq_afinfo = { |
100 | .owner = THIS_MODULE, | ||
101 | .name = "udplite6", | 100 | .name = "udplite6", |
102 | .family = AF_INET6, | 101 | .family = AF_INET6, |
103 | .hashtable = udplite_hash, | 102 | .hashtable = udplite_hash, |
103 | .seq_fops = { | ||
104 | .owner = THIS_MODULE, | ||
105 | }, | ||
104 | .seq_ops = { | 106 | .seq_ops = { |
105 | .show = udp6_seq_show, | 107 | .show = udp6_seq_show, |
106 | }, | 108 | }, |