vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / ext4 / namei.c
index 67fd0b0258589ae64428d26530807b898e79854b..957580daad78f09da3061f9a664865a473fe017c 100644 (file)
@@ -2123,6 +2123,8 @@ static int ext4_rmdir(struct inode *dir, struct dentry *dentry)
        struct ext4_dir_entry_2 *de;
        handle_t *handle;
 
+       dentry_unhash(dentry);
+
        /* Initialize quotas before so that eventual writes go in
         * separate transaction */
        dquot_initialize(dir);
This page took 0.024981 seconds and 5 git commands to generate.