diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2014-08-08 23:21:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-09 00:57:22 +0200 |
commit | 4dcc03fc4553943c8bae086aa826bb75171e82a1 (patch) | |
tree | f74718f40a3ab875f2b3d3d9f74ebf9a0d81c750 /fs/proc/generic.c | |
parent | proc: faster /proc/$PID lookup (diff) | |
download | linux-4dcc03fc4553943c8bae086aa826bb75171e82a1.tar.xz linux-4dcc03fc4553943c8bae086aa826bb75171e82a1.zip |
proc: make proc_subdir_lock static
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r-- | fs/proc/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 190862e89880..317b72641ebf 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -27,7 +27,7 @@ #include "internal.h" -DEFINE_SPINLOCK(proc_subdir_lock); +static DEFINE_SPINLOCK(proc_subdir_lock); static int proc_match(unsigned int len, const char *name, struct proc_dir_entry *de) { |