Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into 580-cannot-find-the-_…
Browse files Browse the repository at this point in the history
…bool-type
  • Loading branch information
rtjohnso committed Jul 25, 2023
2 parents ff09e83 + a3e9469 commit 0aeee1f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/trunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,13 @@ trunk_set_super_block(trunk_handle *spl,
super->root_addr = spl->root_addr;
super->meta_tail = mini_meta_tail(&spl->mini);
if (spl->cfg.use_log) {
super->log_addr = log_addr(spl->log);
super->log_meta_addr = log_meta_addr(spl->log);
if (spl->log) {
super->log_addr = log_addr(spl->log);
super->log_meta_addr = log_meta_addr(spl->log);
} else {
super->log_addr = 0;
super->log_meta_addr = 0;
}
}
super->timestamp = platform_get_real_time();
super->checkpointed = is_checkpoint;
Expand Down

0 comments on commit 0aeee1f

Please sign in to comment.