Browse Source

Fix regression from remember_node refactor

pull/968/head
Antonio SJ Musumeci 3 years ago
parent
commit
8150957a01
  1. 3
      libfuse/lib/fuse.c

3
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)
{ {
if(remember_nodes(f))
{
assert(node->nlookup > 1); assert(node->nlookup > 1);
node->nlookup--; node->nlookup--;
}
unhash_name(f,node); unhash_name(f,node);
} }

Loading…
Cancel
Save