]> err.no Git - linux-2.6/commitdiff
[NETFILTER/RXRPC]: Don't use seq_release_private where inappropriate.
authorPavel Emelyanov <xemul@openvz.org>
Fri, 29 Feb 2008 19:39:17 +0000 (11:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 19:39:17 +0000 (11:39 -0800)
Some netfilter code and rxrpc one use seq_open() to open
a proc file, but seq_release_private to release one.

This is harmless, but ambiguous.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/netfilter/nf_conntrack_standalone.c
net/rxrpc/ar-proc.c

index 089252e82c01fb93b55efa15c0e7a7f74d36398d..9668c3a23efec2e3c16eaa1a40c3c8ecf989211c 100644 (file)
@@ -379,7 +379,7 @@ static const struct file_operations ct_cpu_seq_fops = {
        .open    = ct_cpu_seq_open,
        .read    = seq_read,
        .llseek  = seq_lseek,
-       .release = seq_release_private,
+       .release = seq_release,
 };
 
 int __init nf_conntrack_ipv4_compat_init(void)
index e88e96af613d68938fe989034299be0f2c9fee5f..a9bf6e4fd0ccfa27756116592a672d9702a8f2ad 100644 (file)
@@ -293,7 +293,7 @@ static const struct file_operations ct_cpu_seq_fops = {
        .open    = ct_cpu_seq_open,
        .read    = seq_read,
        .llseek  = seq_lseek,
-       .release = seq_release_private,
+       .release = seq_release,
 };
 #endif /* CONFIG_PROC_FS */
 
index 83eda247fe487b1d8499926122eab8a315acd107..017322e2786dedb70f2da284e1a687b57c203cc6 100644 (file)
@@ -103,7 +103,7 @@ const struct file_operations rxrpc_call_seq_fops = {
        .open           = rxrpc_call_seq_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
-       .release        = seq_release_private,
+       .release        = seq_release,
 };
 
 /*
@@ -188,5 +188,5 @@ const struct file_operations rxrpc_connection_seq_fops = {
        .open           = rxrpc_connection_seq_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
-       .release        = seq_release_private,
+       .release        = seq_release,
 };