Commit 5e61feaf authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

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

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7bcd6b0e
...@@ -1247,7 +1247,6 @@ static struct dentry *proc_fd_instantiate(struct inode *dir, ...@@ -1247,7 +1247,6 @@ static struct dentry *proc_fd_instantiate(struct inode *dir,
goto out; goto out;
} }
/* SMP-safe */
static struct dentry *proc_lookupfd(struct inode * dir, struct dentry * dentry, struct nameidata *nd) static struct dentry *proc_lookupfd(struct inode * dir, struct dentry * dentry, struct nameidata *nd)
{ {
struct task_struct *task = get_proc_task(dir); struct task_struct *task = get_proc_task(dir);
...@@ -1374,7 +1373,6 @@ static struct dentry *proc_pident_instantiate(struct inode *dir, ...@@ -1374,7 +1373,6 @@ static struct dentry *proc_pident_instantiate(struct inode *dir,
return error; return error;
} }
/* SMP-safe */
static struct dentry *proc_pident_lookup(struct inode *dir, static struct dentry *proc_pident_lookup(struct inode *dir,
struct dentry *dentry, struct dentry *dentry,
struct pid_entry *ents, struct pid_entry *ents,
...@@ -1899,7 +1897,6 @@ struct dentry *proc_pid_instantiate(struct inode *dir, ...@@ -1899,7 +1897,6 @@ struct dentry *proc_pid_instantiate(struct inode *dir,
return error; return error;
} }
/* SMP-safe */
struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd) struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd)
{ {
struct dentry *result = ERR_PTR(-ENOENT); struct dentry *result = ERR_PTR(-ENOENT);
...@@ -2106,7 +2103,6 @@ static struct dentry *proc_task_instantiate(struct inode *dir, ...@@ -2106,7 +2103,6 @@ static struct dentry *proc_task_instantiate(struct inode *dir,
return error; return error;
} }
/* SMP-safe */
static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd) static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd)
{ {
struct dentry *result = ERR_PTR(-ENOENT); struct dentry *result = ERR_PTR(-ENOENT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment