diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 20:38:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:40 -0800 |
commit | 9711ef9945ce33b2b4ecb51a4db3f65f7d784876 (patch) | |
tree | 7292799c068fe4b14c190054e647bf8ffe42db15 /fs/proc/base.c | |
parent | c585646dd1d98caf0a5f2e85c794c1441df6fac1 (diff) | |
download | lwn-9711ef9945ce33b2b4ecb51a4db3f65f7d784876.tar.gz lwn-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/proc/base.c')
-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: 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; |