journal_metadata_decode
if (journal_metadata_decode((u_char *)&tmpmd, &md) != 0) {
error = journal_metadata_decode(buf, md);