commit | 24074a35c5c975c94cd9691ae962855333aac47f | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Jun 13 19:43:19 2018 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 15 00:48:57 2018 -0400 |
tree | 1b59ef017c85f158edf696564fe441fa2356ca3e | |
parent | de52cf922a4a17d0a4cd34d697db62a01c1bd092 [diff] |
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 <viro@ZenIV.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>