vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / logfs / dir.c
index 9ed89d1663f839c86b84e133617a47f4d855ee25..2b32734cd31a3b3a5a3ab9ef5b7abbc7cb221c0f 100644 (file)
@@ -273,6 +273,8 @@ static int logfs_rmdir(struct inode *dir, struct dentry *dentry)
 {
        struct inode *inode = dentry->d_inode;
 
+       dentry_unhash(dentry);
+
        if (!logfs_empty_dir(inode))
                return -ENOTEMPTY;
 
This page took 0.026026 seconds and 5 git commands to generate.