patch-2.1.67 linux/fs/ext2/namei.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/drivers/video/vgacon.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Nov 26 15:13:56 1997
- Orig file:
v2.1.66/linux/fs/ext2/namei.c
- Orig date:
Wed Nov 12 13:34:27 1997
diff -u --recursive --new-file v2.1.66/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -614,10 +614,9 @@
/*
* Prune any child dentries so that this dentry becomes negative.
*/
- if (dentry->d_count > 1) {
- printk("ext2_rmdir: d_count=%d, pruning\n", dentry->d_count);
+ if (dentry->d_count > 1)
shrink_dcache_parent(dentry);
- }
+
if (!empty_dir (inode))
retval = -ENOTEMPTY;
else if (le32_to_cpu(de->inode) != inode->i_ino)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov