Skip to content

Commit

Permalink
[PATCH] proc: remove the useless SMP-safe comments from /proc
Browse files Browse the repository at this point in the history
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Oct 2, 2006
1 parent 7bcd6b0 commit 5e61fea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5e61fea

Please sign in to comment.