]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
fs/proc: use __ro_after_init
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 6 Feb 2018 23:37:24 +0000 (15:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:43 +0000 (18:32 -0800)
commitefb1a57d90cae6af1ddd32f1b920c924a711aba5
tree6aa5fba9d4240e0a171eb2ac9bfc9d64aae7aa2e
parent53f63345d893df36b58e81ddb3d11dcd2e9cc966
fs/proc: use __ro_after_init

/proc/self inode numbers, value of proc_inode_cache and st_nlink of
/proc/$TGID are fixed constants.

Link: http://lkml.kernel.org/r/20180103184707.GA31849@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c
fs/proc/inode.c
fs/proc/self.c
fs/proc/thread_self.c