forked from luck/tmp_suning_uos_patched
[PATCH] proc: remove the useless SMP-safe comments from /proc
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>
This commit is contained in:
parent
7bcd6b0efd
commit
5e61feafa2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user