commit | d0cf1fb60902db0c9a972ec989cd46283ccf5a3a | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Fri May 06 10:10:38 2005 +0000 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Fri May 06 10:10:38 2005 +0000 |
tree | 23a89adf4dd9228c4dc0c72be94fabfd2c5e66a8 | |
parent | baab6cbfa9ed40c852e3dc60d783439c48646ee0 [diff] [blame] |
bugfix
diff --git a/lib/fuse.c b/lib/fuse.c index 9659a0d..9bc933f 100644 --- a/lib/fuse.c +++ b/lib/fuse.c
@@ -391,8 +391,8 @@ struct node *node; pthread_mutex_lock(&f->lock); - node = get_node(f, nodeid); - if (node->version == version && nodeid != FUSE_ROOT_ID) { + node = get_node_nocheck(f, nodeid); + if (node && node->version == version && nodeid != FUSE_ROOT_ID) { node->version = 0; unhash_name(f, node); unref_node(f, node);