vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / udf / namei.c
index f1dce848ef966ea1853c9f50ce2d9cc997114a18..b70f026302a5f8dc9bf089997d33b22dfb42c9b5 100644 (file)
@@ -783,6 +783,8 @@ static int udf_rmdir(struct inode *dir, struct dentry *dentry)
        struct fileIdentDesc *fi, cfi;
        struct kernel_lb_addr tloc;
 
+       dentry_unhash(dentry);
+
        retval = -ENOENT;
        fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi);
        if (!fi)
This page took 0.038295 seconds and 5 git commands to generate.