patch-2.3.26 linux/fs/dcache.c
Next file: linux/fs/ext2/file.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Nov 2 21:36:18 1999
- Orig file:
v2.3.25/linux/fs/dcache.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.25/linux/fs/dcache.c linux/fs/dcache.c
@@ -214,7 +214,8 @@
dentry_iput(dentry);
parent = dentry->d_parent;
d_free(dentry);
- dput(parent);
+ if (parent != dentry)
+ dput(parent);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)