vfs: push dentry_unhash on rmdir into file systems
[deliverable/linux.git] / fs / fuse / dir.c
index c6ba49bd95b34136d04bae30b83342933c35ce7a..40d5c2ae4e73c35908c02c92573a3f2bc00426b6 100644 (file)
@@ -667,6 +667,8 @@ static int fuse_rmdir(struct inode *dir, struct dentry *entry)
        if (IS_ERR(req))
                return PTR_ERR(req);
 
+       dentry_unhash(entry);
+
        req->in.h.opcode = FUSE_RMDIR;
        req->in.h.nodeid = get_node_id(dir);
        req->in.numargs = 1;
This page took 0.039729 seconds and 5 git commands to generate.