diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-02-20 00:17:34 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-02-20 15:14:32 +0100 |
commit | 0afa5ca82212247456f9de1468b595a111fee633 (patch) | |
tree | 51beb5c4abdedd586466c717bc8f0d8b3e17d980 /fs/proc/internal.h | |
parent | Linux 5.6-rc2 (diff) | |
download | linux-0afa5ca82212247456f9de1468b595a111fee633.tar.xz linux-0afa5ca82212247456f9de1468b595a111fee633.zip |
proc: Rename in proc_inode rename sysctl_inodes sibling_inodes
I about to need and use the same functionality for pid based
inodes and there is no point in adding a second field when
this field is already here and serving the same purporse.
Just give the field a generic name so it is clear that
it is no longer sysctl specific.
Also for good measure initialize sibling_inodes when
proc_inode is initialized.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r-- | fs/proc/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 41587276798e..366cd3aa690b 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -91,7 +91,7 @@ struct proc_inode { struct proc_dir_entry *pde; struct ctl_table_header *sysctl; struct ctl_table *sysctl_entry; - struct hlist_node sysctl_inodes; + struct hlist_node sibling_inodes; const struct proc_ns_operations *ns_ops; struct inode vfs_inode; } __randomize_layout; |