diff options
Diffstat (limited to 'fs/proc/internal.h')
| -rw-r--r-- | fs/proc/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 28cbca805905..442202314d53 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h | |||
| @@ -63,6 +63,7 @@ extern const struct file_operations proc_smaps_operations; | |||
| 63 | extern const struct file_operations proc_clear_refs_operations; | 63 | extern const struct file_operations proc_clear_refs_operations; |
| 64 | extern const struct file_operations proc_pagemap_operations; | 64 | extern const struct file_operations proc_pagemap_operations; |
| 65 | extern const struct file_operations proc_net_operations; | 65 | extern const struct file_operations proc_net_operations; |
| 66 | extern const struct file_operations proc_kmsg_operations; | ||
| 66 | extern const struct inode_operations proc_net_inode_operations; | 67 | extern const struct inode_operations proc_net_inode_operations; |
| 67 | 68 | ||
| 68 | void free_proc_entry(struct proc_dir_entry *de); | 69 | void free_proc_entry(struct proc_dir_entry *de); |
| @@ -88,3 +89,10 @@ struct dentry *proc_lookup_de(struct proc_dir_entry *de, struct inode *ino, | |||
| 88 | struct dentry *dentry); | 89 | struct dentry *dentry); |
| 89 | int proc_readdir_de(struct proc_dir_entry *de, struct file *filp, void *dirent, | 90 | int proc_readdir_de(struct proc_dir_entry *de, struct file *filp, void *dirent, |
| 90 | filldir_t filldir); | 91 | filldir_t filldir); |
| 92 | |||
| 93 | struct pde_opener { | ||
| 94 | struct inode *inode; | ||
| 95 | struct file *file; | ||
| 96 | int (*release)(struct inode *, struct file *); | ||
| 97 | struct list_head lh; | ||
| 98 | }; | ||
