mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
[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 @@ out_iput:
|
||||
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 @@ out:
|
||||
return error;
|
||||
}
|
||||
|
||||
/* SMP-safe */
|
||||
static struct dentry *proc_pident_lookup(struct inode *dir,
|
||||
struct dentry *dentry,
|
||||
struct pid_entry *ents,
|
||||
@ -1899,7 +1897,6 @@ out:
|
||||
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 @@ out:
|
||||
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