vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / exofs / namei.c
index 4d70db110cfc4d8585bf77f1f02061f66fab4127..0697175d1a38dafc4b84aec0a792db0cc9fa9a2f 100644 (file)
@@ -227,6 +227,8 @@ static int exofs_rmdir(struct inode *dir, struct dentry *dentry)
        struct inode *inode = dentry->d_inode;
        int err = -ENOTEMPTY;
 
+       dentry_unhash(dentry);
+
        if (exofs_empty_dir(inode)) {
                err = exofs_unlink(dir, dentry);
                if (!err) {
This page took 0.043178 seconds and 5 git commands to generate.