提交 5e61feaf 编写于 作者: E Eric W. Biederman 提交者: Linus Torvalds

[PATCH] proc: remove the useless SMP-safe comments from /proc

Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7bcd6b0e
......@@ -1247,7 +1247,6 @@ static struct dentry *proc_fd_instantiate(struct inode *dir,
goto out;
}
/* SMP-safe */
static struct dentry *proc_lookupfd(struct inode * dir, struct dentry * dentry, struct nameidata *nd)
{
struct task_struct *task = get_proc_task(dir);
......@@ -1374,7 +1373,6 @@ static struct dentry *proc_pident_instantiate(struct inode *dir,
return error;
}
/* SMP-safe */
static struct dentry *proc_pident_lookup(struct inode *dir,
struct dentry *dentry,
struct pid_entry *ents,
......@@ -1899,7 +1897,6 @@ struct dentry *proc_pid_instantiate(struct inode *dir,
return error;
}
/* SMP-safe */
struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd)
{
struct dentry *result = ERR_PTR(-ENOENT);
......@@ -2106,7 +2103,6 @@ static struct dentry *proc_task_instantiate(struct inode *dir,
return error;
}
/* SMP-safe */
static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd)
{
struct dentry *result = ERR_PTR(-ENOENT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册