projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: add and remove /proc entry create checks
[cascardo/linux.git]
/
fs
/
proc
/
fd.c
diff --git
a/fs/proc/fd.c
b/fs/proc/fd.c
index
0788d09
..
955bb55
100644
(file)
--- a/
fs/proc/fd.c
+++ b/
fs/proc/fd.c
@@
-206,7
+206,7
@@
static struct dentry *proc_lookupfd_common(struct inode *dir,
{
struct task_struct *task = get_proc_task(dir);
int result = -ENOENT;
- unsigned fd = name_to_int(
dentry
);
+ unsigned fd = name_to_int(
&dentry->d_name
);
if (!task)
goto out_no_task;