summaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2014-08-08 23:21:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:22 +0200
commit4dcc03fc4553943c8bae086aa826bb75171e82a1 (patch)
treef74718f40a3ab875f2b3d3d9f74ebf9a0d81c750 /fs/proc/internal.h
parentproc: faster /proc/$PID lookup (diff)
downloadlinux-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/internal.h')
-rw-r--r--fs/proc/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index a38408a1dd84..a17accbd05ee 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -178,8 +178,6 @@ extern bool proc_fill_cache(struct file *, struct dir_context *, const char *, i
/*
* generic.c
*/
-extern spinlock_t proc_subdir_lock;
-
extern struct dentry *proc_lookup(struct inode *, struct dentry *, unsigned int);
extern struct dentry *proc_lookup_de(struct proc_dir_entry *, struct inode *,
struct dentry *);