patch-2.3.51 linux/fs/udf/namei.c
Next file: linux/fs/udf/super.c
Previous file: linux/fs/sysv/namei.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Mar 8 09:04:09 2000
- Orig file:
v2.3.50/linux/fs/udf/namei.c
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.3.50/linux/fs/udf/namei.c linux/fs/udf/namei.c
@@ -1165,6 +1165,9 @@
if (new_inode)
{
+ retval = -EBUSY;
+ if (!d_unhashed(new_dentry))
+ goto end_rename;
retval = -ENOTEMPTY;
if (!empty_dir(new_inode))
goto end_rename;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)