summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-05-21 17:40:27 -0400
committerColin Walters <walters@verbum.org>2013-05-22 09:14:22 -0400
commiteb62d94a9a3141fd016b0abad8dcf142c4c0d962 (patch)
treee8c42c6b9fa81c449fa1e9562e1cc1c11cf0541b /metadata
parent5ab3363029f94f30cf716aa55fe4f581ef67f14d (diff)
downloadgvfs-eb62d94a9a3141fd016b0abad8dcf142c4c0d962.tar.gz
metadata: Downgrade journal short-read to debug
Because multiple clients can be concurrently writing to the journal, it's possible to see partially written journal entries. Emitting g_warning() here breaks test cases. The real fix would be safe concurrent access to the journal, but that's harder. https://bugzilla.gnome.org/700785
Diffstat (limited to 'metadata')
-rw-r--r--metadata/metatree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/metatree.c b/metadata/metatree.c
index 6aef33c0..74ae0ca5 100644
--- a/metadata/metatree.c
+++ b/metadata/metatree.c
@@ -1223,7 +1223,7 @@ meta_journal_iterate (MetaJournal *journal,
entry = (MetaJournalEntry *)((char *)entry - GUINT32_FROM_BE (*(sizep-1)));
if (GUINT32_FROM_BE (*(sizep)) < sizeof (MetaJournalEntry) && entry > journal->first_entry)
{
- g_warning ("meta_journal_iterate: found short sized entry, possible journal corruption\n");
+ g_debug ("meta_journal_iterate: found short sized entry, possible journal corruption\n");
break;
}