diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/fuse.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2004-09-09 Miklos Szeredi <miklos@szeredi.hu> + + * Fix bug in case two FORGETs for the same node are executed in + the wrong order. Bug spotted and endured for months by Franco + Broi, and logfile for solution provided by Terje Oseberg + 2004-09-01 Miklos Szeredi <miklos@szeredi.hu> * Add -D_REENTRANT to the compile flags @@ -317,8 +317,8 @@ static void destroy_node(struct fuse *f, fino_t ino, int version) struct node *node; pthread_mutex_lock(&f->lock); - node = get_node(f, ino); - if (node->version == version && ino != FUSE_ROOT_INO) { + node = __get_node(f, ino); + if (node && node->version == version && ino != FUSE_ROOT_INO) { unhash_name(f, node); unhash_ino(f, node); free_node(node); |