mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
c585646dd1
commit
9711ef9945
|
@ -1885,8 +1885,9 @@ void proc_flush_task(struct task_struct *task)
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue