vfs: push dentry_unhash on rmdir into file systems
[pandora-kernel.git] / fs / fat / namei_msdos.c
index 7114990..0c25cea 100644 (file)
@@ -326,6 +326,8 @@ static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
        struct fat_slot_info sinfo;
        int err;
 
+       dentry_unhash(dentry);
+
        lock_super(sb);
        /*
         * Check whether the directory is not in use, then check