vfs: push dentry_unhash on rmdir into file systems
[pandora-kernel.git] / fs / ext3 / namei.c
index 32f3b86..552f94d 100644 (file)
@@ -2074,6 +2074,8 @@ static int ext3_rmdir (struct inode * dir, struct dentry *dentry)
        struct ext3_dir_entry_2 * de;
        handle_t *handle;
 
+       dentry_unhash(dentry);
+
        /* Initialize quotas before so that eventual writes go in
         * separate transaction */
        dquot_initialize(dir);