patch-2.1.49 linux/fs/minix/namei.c
Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Aug 9 21:49:47 1997
- Orig file:
v2.1.48/linux/fs/minix/namei.c
- Orig date:
Sun Jul 27 12:11:01 1997
diff -u --recursive --new-file v2.1.48/linux/fs/minix/namei.c linux/fs/minix/namei.c
@@ -754,8 +754,7 @@
}
}
/* 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);
retval = 0;
end_rename:
brelse(dir_bh);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov