patch-2.1.49 linux/fs/nfs/dir.c

Next file: linux/fs/nfsd/export.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.48/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
@@ -663,8 +663,7 @@
 	nfs_invalidate_dircache(new_dir);
 
 	/* Update the dcache */
-	d_move(old_dentry, new_dentry->d_parent, &new_dentry->d_name);
-	d_delete(new_dentry);
+	d_move(old_dentry, new_dentry);
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov