aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/fd.c')
-rw-r--r--fs/proc/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c
index 0788d093f5d8..955bb55fab8c 100644
--- a/fs/proc/fd.c
+++ b/fs/proc/fd.c
@@ -206,7 +206,7 @@ static struct dentry *proc_lookupfd_common(struct inode *dir,
206{ 206{
207 struct task_struct *task = get_proc_task(dir); 207 struct task_struct *task = get_proc_task(dir);
208 int result = -ENOENT; 208 int result = -ENOENT;
209 unsigned fd = name_to_int(dentry); 209 unsigned fd = name_to_int(&dentry->d_name);
210 210
211 if (!task) 211 if (!task)
212 goto out_no_task; 212 goto out_no_task;