procfs: preparations for remove_proc_entry() race fixes
[pandora-kernel.git] / fs / proc / internal.h
index 9c93a53..c43d536 100644 (file)
@@ -151,12 +151,13 @@ int proc_readdir_de(struct proc_dir_entry *de, struct file *filp, void *dirent,
                filldir_t filldir);
 
 struct pde_opener {
-       struct inode *inode;
        struct file *file;
-       int (*release)(struct inode *, struct file *);
        struct list_head lh;
 };
-void pde_users_dec(struct proc_dir_entry *pde);
+
+ssize_t __proc_file_read(struct file *, char __user *, size_t, loff_t *);
+extern const struct file_operations proc_file_operations;
+void proc_entry_rundown(struct proc_dir_entry *);
 
 extern spinlock_t proc_subdir_lock;