patch-2.3.6 linux/fs/proc/link.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jun 8 10:47:58 1999
- Orig file:
v2.3.5/linux/fs/proc/link.c
- Orig date:
Mon Apr 12 16:18:26 1999
diff -u --recursive --new-file v2.3.5/linux/fs/proc/link.c linux/fs/proc/link.c
@@ -146,7 +146,7 @@
/* Check for special dentries.. */
pattern = NULL;
inode = dentry->d_inode;
- if (inode && dentry->d_parent == dentry) {
+ if (inode && IS_ROOT(dentry)) {
if (S_ISSOCK(inode->i_mode))
pattern = "socket:[%lu]";
if (S_ISFIFO(inode->i_mode))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)