summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 05:38:31 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 17:39:40 +0100
commit9711ef9945ce33b2b4ecb51a4db3f65f7d784876 (patch)
tree7292799c068fe4b14c190054e647bf8ffe42db15 /fs
parent[PATCH] fs/lockd/host.c: make 2 functions static (diff)
downloadlinux-9711ef9945ce33b2b4ecb51a4db3f65f7d784876.tar.xz
linux-9711ef9945ce33b2b4ecb51a4db3f65f7d784876.zip
[PATCH] make fs/proc/base.c:proc_pid_instantiate() static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/base.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 05ace70d051a..b859fc749c07 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1885,8 +1885,9 @@ out:
return;
}
-struct dentry *proc_pid_instantiate(struct inode *dir,
- struct dentry * dentry, struct task_struct *task, void *ptr)
+static struct dentry *proc_pid_instantiate(struct inode *dir,
+ struct dentry * dentry,
+ struct task_struct *task, void *ptr)
{
struct dentry *error = ERR_PTR(-ENOENT);
struct inode *inode;