metadata: Downgrade journal short-read to debug (upstream).

This commit is contained in:
ajacoutot 2013-06-01 13:50:20 +00:00
parent 0a1c8ff2e5
commit e13361ea1c
2 changed files with 20 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.94 2013/05/31 15:35:25 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.95 2013/06/01 13:50:20 ajacoutot Exp $
COMMENT-main= GNOME Virtual File System COMMENT-main= GNOME Virtual File System
COMMENT-smb= GVFS mount module for samba COMMENT-smb= GVFS mount module for samba
@ -7,7 +7,7 @@ COMMENT-goa= GVFS volume monitor for gnome-online-account
GNOME_PROJECT= gvfs GNOME_PROJECT= gvfs
GNOME_VERSION= 1.16.2 GNOME_VERSION= 1.16.2
REVISION-main= 0 REVISION-main= 1
REVISION-smb= 0 REVISION-smb= 0
REVISION-goa= 0 REVISION-goa= 0

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-metadata_metatree_c,v 1.10 2013/06/01 13:50:20 ajacoutot Exp $
From eb62d94a9a3141fd016b0abad8dcf142c4c0d962 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Tue, 21 May 2013 21:40:27 +0000
Subject: metadata: Downgrade journal short-read to debug
--- metadata/metatree.c.orig Tue May 14 18:01:17 2013
+++ metadata/metatree.c Sat Jun 1 15:31:17 2013
@@ -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;
}