Possible null pointer dereference fix.
[bluesky.git] / bluesky / inode.c
index 39feff8..40531cd 100644 (file)
@@ -83,6 +83,7 @@ BlueSkyFS *bluesky_new_fs(gchar *name)
                                   bluesky_fs_key_equal_func);
     fs->next_inum = BLUESKY_ROOT_INUM + 1;
     fs->store = bluesky_store_new("file");
+    fs->flushd_lock = g_mutex_new();
 
     return fs;
 }