diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-28 18:25:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 18:25:53 -0700 |
commit | 4ad96d39a2d74c1b2e400b602da2594f5098fc26 (patch) | |
tree | 570666522e544892feba440728a59f336e13c3dd /net/ipv4/udp.c | |
parent | 3ba9441bdf07370670a684e6d95dfc523476677f (diff) | |
download | kernel_samsung_smdk4412-4ad96d39a2d74c1b2e400b602da2594f5098fc26.zip kernel_samsung_smdk4412-4ad96d39a2d74c1b2e400b602da2594f5098fc26.tar.gz kernel_samsung_smdk4412-4ad96d39a2d74c1b2e400b602da2594f5098fc26.tar.bz2 |
[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/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index a95dff8..9143645 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1596,7 +1596,6 @@ int udp_proc_register(struct net *net, struct udp_seq_afinfo *afinfo) struct proc_dir_entry *p; int rc = 0; - afinfo->seq_fops.owner = afinfo->owner; afinfo->seq_fops.open = udp_seq_open; afinfo->seq_fops.read = seq_read; afinfo->seq_fops.llseek = seq_lseek; @@ -1656,10 +1655,12 @@ int udp4_seq_show(struct seq_file *seq, void *v) /* ------------------------------------------------------------------------ */ static struct udp_seq_afinfo udp4_seq_afinfo = { - .owner = THIS_MODULE, .name = "udp", .family = AF_INET, .hashtable = udp_hash, + .seq_fops = { + .owner = THIS_MODULE, + }, .seq_ops = { .show = udp4_seq_show, }, |