patch-2.1.129 linux/fs/proc/fd.c
Next file: linux/fs/proc/kmsg.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun Nov 15 10:15:31 1998
- Orig file:
v2.1.128/linux/fs/proc/fd.c
- Orig date:
Wed Aug 26 11:37:43 1998
diff -u --recursive --new-file v2.1.128/linux/fs/proc/fd.c linux/fs/proc/fd.c
@@ -119,6 +119,7 @@
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;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov