aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/seq_file_net.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 07:07:44 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 07:07:44 -0400
commitb6fcbdb4f283f7ba67cec3cda6be23da8e959031 (patch)
tree45d72a4a5d0cce9ab2c98321f4d7d122bf982a55 /include/linux/seq_file_net.h
parentde05c557b24c7dffc6d392e3db120cf11c9f6ae7 (diff)
proc: consolidate per-net single-release callers
They are symmetrical to single_open ones :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/seq_file_net.h')
-rw-r--r--include/linux/seq_file_net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/seq_file_net.h b/include/linux/seq_file_net.h
index 87dcc0ecf6eb..32c89bbe24a2 100644
--- a/include/linux/seq_file_net.h
+++ b/include/linux/seq_file_net.h
@@ -17,6 +17,7 @@ int seq_open_net(struct inode *, struct file *,
17int single_open_net(struct inode *, struct file *file, 17int single_open_net(struct inode *, struct file *file,
18 int (*show)(struct seq_file *, void *)); 18 int (*show)(struct seq_file *, void *));
19int seq_release_net(struct inode *, struct file *); 19int seq_release_net(struct inode *, struct file *);
20int single_release_net(struct inode *, struct file *);
20static inline struct net *seq_file_net(struct seq_file *seq) 21static inline struct net *seq_file_net(struct seq_file *seq)
21{ 22{
22#ifdef CONFIG_NET_NS 23#ifdef CONFIG_NET_NS