]> Git Repo - linux.git/commit
proc: Make inline name size calculation automatic
authorDavid Howells <[email protected]>
Wed, 13 Jun 2018 18:43:19 +0000 (19:43 +0100)
committerAl Viro <[email protected]>
Fri, 15 Jun 2018 04:48:57 +0000 (00:48 -0400)
commit24074a35c5c975c94cd9691ae962855333aac47f
tree1b59ef017c85f158edf696564fe441fa2356ca3e
parentde52cf922a4a17d0a4cd34d697db62a01c1bd092
proc: Make inline name size calculation automatic

Make calculation of the size of the inline name in struct proc_dir_entry
automatic, rather than having to manually encode the numbers and failing to
allow for lockdep.

Require a minimum inline name size of 33+1 to allow for names that look
like two hex numbers with a dash between.

Reported-by: Al Viro <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/proc/generic.c
fs/proc/inode.c
fs/proc/internal.h
fs/proc/root.c
This page took 0.057668 seconds and 4 git commands to generate.