diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:38:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:40 -0500 |
commit | 9711ef9945ce33b2b4ecb51a4db3f65f7d784876 (patch) | |
tree | 7292799c068fe4b14c190054e647bf8ffe42db15 | |
parent | c585646dd1d98caf0a5f2e85c794c1441df6fac1 (diff) |
[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>
-rw-r--r-- | fs/proc/base.c | 5 |
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: | |||
1885 | return; | 1885 | return; |
1886 | } | 1886 | } |
1887 | 1887 | ||
1888 | struct dentry *proc_pid_instantiate(struct inode *dir, | 1888 | static struct dentry *proc_pid_instantiate(struct inode *dir, |
1889 | struct dentry * dentry, struct task_struct *task, void *ptr) | 1889 | struct dentry * dentry, |
1890 | struct task_struct *task, void *ptr) | ||
1890 | { | 1891 | { |
1891 | struct dentry *error = ERR_PTR(-ENOENT); | 1892 | struct dentry *error = ERR_PTR(-ENOENT); |
1892 | struct inode *inode; | 1893 | struct inode *inode; |