diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-10 19:42:55 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-16 07:24:30 +0200 |
commit | c3506372277779fccbffee2475400fcd689d5738 (patch) | |
tree | d45d820f96a84a1223fa84c6ad4b7d84a81399aa /include/linux/seq_file_net.h | |
parent | a2dcdee3748b664bf011b4b12de64e945dd4c8c2 (diff) | |
download | op-kernel-dev-c3506372277779fccbffee2475400fcd689d5738.zip op-kernel-dev-c3506372277779fccbffee2475400fcd689d5738.tar.gz |
proc: introduce proc_create_net{,_data}
Variants of proc_create{,_data} that directly take a struct seq_operations
and deal with network namespaces in ->open and ->release. All callers of
proc_create + seq_open_net converted over, and seq_{open,release}_net are
removed entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/seq_file_net.h')
-rw-r--r-- | include/linux/seq_file_net.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/seq_file_net.h b/include/linux/seq_file_net.h index ed20faa..5ea18a1 100644 --- a/include/linux/seq_file_net.h +++ b/include/linux/seq_file_net.h @@ -13,11 +13,8 @@ struct seq_net_private { #endif }; -int seq_open_net(struct inode *, struct file *, - const struct seq_operations *, int); 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) { |