patch-2.2.0-pre5 linux/fs/vfat/namei.c
Next file: linux/include/asm-m68k/init.h
Previous file: linux/fs/ufs/super.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Jan 6 09:27:14 1999
- Orig file:
v2.2.0-pre4/linux/fs/vfat/namei.c
- Orig date:
Tue Dec 22 14:16:57 1998
diff -u --recursive --new-file v2.2.0-pre4/linux/fs/vfat/namei.c linux/fs/vfat/namei.c
@@ -1549,8 +1549,10 @@
res = -EBUSY;
if (list_empty(&dentry->d_hash)) {
res = vfat_rmdirx(dir, dentry);
- if (res >= 0)
+ if (res >= 0) {
drop_replace_inodes(dentry, NULL);
+ d_delete(dentry);
+ }
}
return res;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov