diff options
Diffstat (limited to 'fs/proc/fd.c')
-rw-r--r-- | fs/proc/fd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 5409e2d67..8db99f7f4 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -119,6 +119,7 @@ static int proc_lookupfd(struct inode * dir, struct dentry * dentry) ino = (pid << 16) + PROC_PID_FD_DIR + fd; inode = proc_get_inode(dir->i_sb, ino, NULL); if (inode) { + dentry->d_op = &proc_dentry_operations; d_add(dentry, inode); err = 0; } |