vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / hostfs / hostfs_kern.c
index 2638c834ed281db783f6a7cd5ef24e2edb2047e4..73ea3ba3e6581c6e4eba65cf9770a8c59ec84b7c 100644 (file)
@@ -683,6 +683,8 @@ int hostfs_rmdir(struct inode *ino, struct dentry *dentry)
        char *file;
        int err;
 
+       dentry_unhash(dentry);
+
        if ((file = dentry_name(dentry)) == NULL)
                return -ENOMEM;
        err = do_rmdir(file);
This page took 0.026821 seconds and 5 git commands to generate.