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

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