diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 8d11187a18d7..596edb5094a4 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2568,7 +2568,6 @@ int vfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
2568 | else { | 2568 | else { |
2569 | error = security_inode_rmdir(dir, dentry); | 2569 | error = security_inode_rmdir(dir, dentry); |
2570 | if (!error) { | 2570 | if (!error) { |
2571 | dentry_unhash(dentry); | ||
2572 | error = dir->i_op->rmdir(dir, dentry); | 2571 | error = dir->i_op->rmdir(dir, dentry); |
2573 | if (!error) { | 2572 | if (!error) { |
2574 | dentry->d_inode->i_flags |= S_DEAD; | 2573 | dentry->d_inode->i_flags |= S_DEAD; |