patch-2.3.99-pre9 linux/fs/umsdos/rdir.c
Next file: linux/fs/vfat/namei.c
Previous file: linux/fs/umsdos/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 20 10:55:29 2000
- Orig file:
v2.3.99-pre8/linux/fs/umsdos/rdir.c
- Orig date:
Fri Mar 10 16:40:49 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/umsdos/rdir.c linux/fs/umsdos/rdir.c
@@ -174,6 +174,8 @@
ret = 0;
if (demd->d_inode)
ret = msdos_unlink (dentry->d_inode, demd);
+ if (!ret)
+ d_delete(demd);
dput(demd);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)