diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-02-20 20:17:28 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-02-24 18:51:25 +0300 |
commit | 71448011ea2a1cd36d8f5cbdab0ed716c454d565 (patch) | |
tree | 929506f14014c7c827eeb46c8e9aa3d6368f7473 /fs/proc/base.c | |
parent | f90f3cafe8d56d593fc509a4185da1d5800efea4 (diff) | |
download | linux-71448011ea2a1cd36d8f5cbdab0ed716c454d565.tar.xz |
proc: Clear the pieces of proc_inode that proc_evict_inode cares about
This just keeps everything tidier, and allows for using flags like
SLAB_TYPESAFE_BY_RCU where slabs are not always cleared before reuse.
I don't see reuse without reinitializing happening with the proc_inode
but I had a false alarm while reworking flushing of proc dentries and
indoes when a process dies that caused me to tidy this up.
The code is a little easier to follow and reason about this
way so I figured the changes might as well be kept.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/proc/base.c')
0 files changed, 0 insertions, 0 deletions