diff options
Diffstat (limited to 'fs/affs/namei.c')
-rw-r--r-- | fs/affs/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/affs/namei.c b/fs/affs/namei.c index c1a849a70..e81e321e3 100644 --- a/fs/affs/namei.c +++ b/fs/affs/namei.c @@ -249,7 +249,6 @@ affs_unlink(struct inode *dir, struct dentry *dentry) inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME; dir->i_version = ++event; mark_inode_dirty(inode); - d_delete(dentry); mark_inode_dirty(dir); retval = 0; @@ -380,7 +379,6 @@ affs_rmdir(struct inode *dir, struct dentry *dentry) dir->i_version = ++event; mark_inode_dirty(dir); mark_inode_dirty(inode); - d_delete(dentry); rmdir_done: affs_brelse(bh); |