patch-2.1.95 linux/fs/dcache.c
Next file: linux/fs/proc/root.c
Previous file: linux/drivers/scsi/u14-34f.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Apr 9 13:15:40 1998
- Orig file:
v2.1.94/linux/fs/dcache.c
- Orig date:
Mon Apr 6 17:41:00 1998
diff -u --recursive --new-file v2.1.94/linux/fs/dcache.c linux/fs/dcache.c
@@ -784,7 +784,7 @@
error = -ENOENT;
/* Has the current directory has been unlinked? */
- if (pwd->d_parent != pwd && list_empty(&pwd->d_hash)) {
+ if (pwd->d_parent == pwd || !list_empty(&pwd->d_hash)) {
char *page = (char *) __get_free_page(GFP_USER);
error = -ENOMEM;
if (page) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov