diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-18 07:07:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 07:07:44 -0400 |
commit | b6fcbdb4f283f7ba67cec3cda6be23da8e959031 (patch) | |
tree | 45d72a4a5d0cce9ab2c98321f4d7d122bf982a55 /include/linux/seq_file_net.h | |
parent | de05c557b24c7dffc6d392e3db120cf11c9f6ae7 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/seq_file_net.h b/include/linux/seq_file_net.h index 87dcc0ecf6e..32c89bbe24a 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 *, | |||
17 | int single_open_net(struct inode *, struct file *file, | 17 | int single_open_net(struct inode *, struct file *file, |
18 | int (*show)(struct seq_file *, void *)); | 18 | int (*show)(struct seq_file *, void *)); |
19 | int seq_release_net(struct inode *, struct file *); | 19 | int seq_release_net(struct inode *, struct file *); |
20 | int single_release_net(struct inode *, struct file *); | ||
20 | static inline struct net *seq_file_net(struct seq_file *seq) | 21 | static inline struct net *seq_file_net(struct seq_file *seq) |
21 | { | 22 | { |
22 | #ifdef CONFIG_NET_NS | 23 | #ifdef CONFIG_NET_NS |