]> err.no Git - linux-2.6/commitdiff
[PATCH] make fs/proc/base.c:proc_pid_instantiate() static
authorAdrian Bunk <bunk@stusta.de>
Thu, 7 Dec 2006 04:38:31 +0000 (20:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:40 +0000 (08:39 -0800)
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>
fs/proc/base.c

index 05ace70d051a87ff2f5cfd28d76e7fa6551b48bc..b859fc749c07115d2e2bbff251b347fa89e2f9c1 100644 (file)
@@ -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;