fix
diff --git a/ChangeLog b/ChangeLog
index 1b5d20d..66f8aac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-01 Miklos Szeredi <miklos@szeredi.hu>
+
+ * lib: Add missing rwlock initialization. Patch by Ryan Bradetich
+
2006-03-17 Miklos Szeredi <miklos@szeredi.hu>
* API changes:
diff --git a/lib/fuse.c b/lib/fuse.c
index dc1ab10..3178b1a 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -2068,6 +2068,7 @@
}
mutex_init(&f->lock);
+ pthread_rwlock_init(&f->tree_lock, NULL);
memcpy(&f->op, op, op_size);
f->compat = compat;