Browse Source

Merge pull request #968 from trapexit/fix

Fix regression from remember_node refactor
pull/969/head
trapexit 3 years ago
committed by GitHub
parent
commit
88b91161e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      libfuse/lib/fuse.c

7
libfuse/lib/fuse.c

@ -1299,8 +1299,11 @@ void
unlink_node(struct fuse *f, unlink_node(struct fuse *f,
struct node *node) struct node *node)
{ {
assert(node->nlookup > 1);
node->nlookup--;
if(remember_nodes(f))
{
assert(node->nlookup > 1);
node->nlookup--;
}
unhash_name(f,node); unhash_name(f,node);
} }

Loading…
Cancel
Save