diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-08-08 16:21:02 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-08-08 16:21:02 -0400 |
| commit | e4ddcb0a6bf04d53ce77b4eb87bbbb32c4261d11 (patch) | |
| tree | d27d2fea50a384d97aa2d0cf5c8657c916f761d4 /include/linux/proc_fs.h | |
| parent | f2afa7711f8585ffc088ba538b9a510e0d5dca12 (diff) | |
| parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) | |
Merge commit 'v2.6.27-rc1' into for-linus
Diffstat (limited to 'include/linux/proc_fs.h')
| -rw-r--r-- | include/linux/proc_fs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index fff1d27ddb4c..fb61850d1cfc 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
| @@ -79,6 +79,7 @@ struct proc_dir_entry { | |||
| 79 | int pde_users; /* number of callers into module in progress */ | 79 | int pde_users; /* number of callers into module in progress */ |
| 80 | spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */ | 80 | spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */ |
| 81 | struct completion *pde_unload_completion; | 81 | struct completion *pde_unload_completion; |
| 82 | struct list_head pde_openers; /* who did ->open, but not ->release */ | ||
| 82 | }; | 83 | }; |
| 83 | 84 | ||
| 84 | struct kcore_list { | 85 | struct kcore_list { |
| @@ -138,7 +139,6 @@ extern int proc_readdir(struct file *, void *, filldir_t); | |||
| 138 | extern struct dentry *proc_lookup(struct inode *, struct dentry *, struct nameidata *); | 139 | extern struct dentry *proc_lookup(struct inode *, struct dentry *, struct nameidata *); |
| 139 | 140 | ||
| 140 | extern const struct file_operations proc_kcore_operations; | 141 | extern const struct file_operations proc_kcore_operations; |
| 141 | extern const struct file_operations proc_kmsg_operations; | ||
| 142 | extern const struct file_operations ppc_htab_operations; | 142 | extern const struct file_operations ppc_htab_operations; |
| 143 | 143 | ||
| 144 | extern int pid_ns_prepare_proc(struct pid_namespace *ns); | 144 | extern int pid_ns_prepare_proc(struct pid_namespace *ns); |
| @@ -282,11 +282,16 @@ union proc_op { | |||
| 282 | struct task_struct *task); | 282 | struct task_struct *task); |
| 283 | }; | 283 | }; |
| 284 | 284 | ||
| 285 | struct ctl_table_header; | ||
| 286 | struct ctl_table; | ||
| 287 | |||
| 285 | struct proc_inode { | 288 | struct proc_inode { |
| 286 | struct pid *pid; | 289 | struct pid *pid; |
| 287 | int fd; | 290 | int fd; |
| 288 | union proc_op op; | 291 | union proc_op op; |
| 289 | struct proc_dir_entry *pde; | 292 | struct proc_dir_entry *pde; |
| 293 | struct ctl_table_header *sysctl; | ||
| 294 | struct ctl_table *sysctl_entry; | ||
| 290 | struct inode vfs_inode; | 295 | struct inode vfs_inode; |
| 291 | }; | 296 | }; |
| 292 | 297 | ||
| @@ -305,8 +310,6 @@ static inline struct net *PDE_NET(struct proc_dir_entry *pde) | |||
| 305 | return pde->parent->data; | 310 | return pde->parent->data; |
| 306 | } | 311 | } |
| 307 | 312 | ||
| 308 | struct net *get_proc_net(const struct inode *inode); | ||
| 309 | |||
| 310 | struct proc_maps_private { | 313 | struct proc_maps_private { |
| 311 | struct pid *pid; | 314 | struct pid *pid; |
| 312 | struct task_struct *task; | 315 | struct task_struct *task; |
