proc: Generalize proc_sys_prune_dcache into proc_prune_siblings_dcache
This prepares the way for allowing the pid part of proc to use this dcache pruning code as well. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -210,6 +210,7 @@ extern const struct inode_operations proc_pid_link_inode_operations;
|
||||
extern const struct super_operations proc_sops;
|
||||
|
||||
void proc_init_kmemcache(void);
|
||||
void proc_prune_siblings_dcache(struct hlist_head *inodes, spinlock_t *lock);
|
||||
void set_proc_pid_nlink(void);
|
||||
extern struct inode *proc_get_inode(struct super_block *, struct proc_dir_entry *);
|
||||
extern void proc_entry_rundown(struct proc_dir_entry *);
|
||||
|
Reference in New Issue
Block a user