mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
de05c557b2
commit
b6fcbdb4f2
6 changed files with 16 additions and 62 deletions
|
@ -17,6 +17,7 @@ int seq_open_net(struct inode *, struct file *,
|
|||
int single_open_net(struct inode *, struct file *file,
|
||||
int (*show)(struct seq_file *, void *));
|
||||
int seq_release_net(struct inode *, struct file *);
|
||||
int single_release_net(struct inode *, struct file *);
|
||||
static inline struct net *seq_file_net(struct seq_file *seq)
|
||||
{
|
||||
#ifdef CONFIG_NET_NS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue