OSDN Git Service

proc: Generalize proc_sys_prune_dcache into proc_prune_siblings_dcache
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 20 Feb 2020 14:34:44 +0000 (08:34 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 20 Feb 2020 16:06:02 +0000 (10:06 -0600)
commit26dbc60f385ff9cff475ea2a3bad02e80fd6fa43
treed93c8dc15ec45d9320e11cfb41f873757bb2649a
parent0afa5ca82212247456f9de1468b595a111fee633
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>
fs/proc/inode.c
fs/proc/internal.h
fs/proc/proc_sysctl.c