Skip to content
Snippets Groups Projects
Commit 5b44a5ba authored by Libor Peltan's avatar Libor Peltan
Browse files

kjournalprint: fix sometimes printing random value as per-zone occupation

parent 35a729f9
No related branches found
No related tags found
No related merge requests found
Pipeline #49640 passed
......@@ -320,6 +320,7 @@ int journal_info(zone_journal_t j, bool *exists, uint32_t *first_serial,
*merged_serial = md.merged_serial;
}
if (occupied != NULL) {
*occupied = 0;
get_metadata64(&txn, j.zone, "occupied", occupied);
}
if (occupied_total != NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment