summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'metadata')
-rw-r--r--metadata/metatree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/metatree.c b/metadata/metatree.c
index 9664fa84..0f66893b 100644
--- a/metadata/metatree.c
+++ b/metadata/metatree.c
@@ -170,6 +170,7 @@ struct _MetaTree {
MetaJournal *journal;
};
+static void meta_tree_refresh_locked (MetaTree *tree);
static MetaJournal *meta_journal_open (MetaTree *tree,
const char *filename,
gboolean for_write,
@@ -504,7 +505,7 @@ meta_tree_init (MetaTree *tree)
journal. However we can detect this case by looking at the tree and see
if its been rotated, we do this to ensure we have an uptodate tree+journal
combo. */
- meta_tree_refresh (tree);
+ meta_tree_refresh_locked (tree);
return TRUE;