patch-2.3.99-pre9 linux/fs/ufs/namei.c
Next file: linux/fs/umsdos/Makefile
Previous file: linux/fs/udf/namei.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Sat May 20 10:55:29 2000
-  Orig file: 
v2.3.99-pre8/linux/fs/ufs/namei.c
-  Orig date: 
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/ufs/namei.c linux/fs/ufs/namei.c
@@ -673,7 +673,6 @@
 	dir->i_nlink--;
 	inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;
 	mark_inode_dirty(dir);
-	d_delete(dentry);
 
 end_rmdir:
 	brelse (bh);
@@ -730,7 +729,6 @@
 	mark_inode_dirty(inode);
 	inode->i_ctime = dir->i_ctime;
 	retval = 0;
-	d_delete(dentry);	/* This also frees the inode */
 
 end_unlink:
 	brelse (bh);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)