diff options
Diffstat (limited to 'fs/umsdos/rdir.c')
-rw-r--r-- | fs/umsdos/rdir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/umsdos/rdir.c b/fs/umsdos/rdir.c index 8c71dd727..a477ade2c 100644 --- a/fs/umsdos/rdir.c +++ b/fs/umsdos/rdir.c @@ -174,6 +174,8 @@ static int UMSDOS_rrmdir ( struct inode *dir, struct dentry *dentry) ret = 0; if (demd->d_inode) ret = msdos_unlink (dentry->d_inode, demd); + if (!ret) + d_delete(demd); dput(demd); } } |