]> git.baikalelectronics.ru Git - kernel.git/commit
proc: Rename in proc_inode rename sysctl_inodes sibling_inodes
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 19 Feb 2020 23:17:34 +0000 (17:17 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 20 Feb 2020 14:14:32 +0000 (08:14 -0600)
commit10e25c9525a70c5c8a0c5687e1c9e7fc49652531
tree51beb5c4abdedd586466c717bc8f0d8b3e17d980
parenta0dcdc4ca64230a6d4a2738a96d502ae7293732c
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>
fs/proc/inode.c
fs/proc/internal.h
fs/proc/proc_sysctl.c