path: root/fs/proc/internal.h
diff options
authorEric W. Biederman <>2020-02-20 08:34:44 -0600
committerEric W. Biederman <>2020-02-20 10:06:02 -0600
commit26dbc60f385ff9cff475ea2a3bad02e80fd6fa43 (patch)
treed93c8dc15ec45d9320e11cfb41f873757bb2649a /fs/proc/internal.h
parent0afa5ca82212247456f9de1468b595a111fee633 (diff)
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 <>
Diffstat (limited to 'fs/proc/internal.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 366cd3aa690b..ba9a991824a5 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -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 *);