scoutfs-utils: add flags to quorum block

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2019-04-10 14:54:45 -07:00
committed by Zach Brown
parent 514418421c
commit 77bd0c20ab
2 changed files with 6 additions and 2 deletions

View File

@@ -497,7 +497,7 @@ static int print_quorum_blocks(int fd, struct scoutfs_super_block *super)
printf("quorum block blkno %llu\n"
" fsid %llx blkno %llu config_gen %llu crc 0x%08x\n"
" write_nr %llu elected_nr %llu "
"unmount_barrier %llu vote_slot %u\n",
"unmount_barrier %llu vote_slot %u flags %02x\n",
blkno, le64_to_cpu(blk->fsid),
le64_to_cpu(blk->blkno),
le64_to_cpu(blk->config_gen),
@@ -505,7 +505,7 @@ static int print_quorum_blocks(int fd, struct scoutfs_super_block *super)
le64_to_cpu(blk->write_nr),
le64_to_cpu(blk->elected_nr),
le64_to_cpu(blk->unmount_barrier),
blk->vote_slot);
blk->vote_slot, blk->flags);
}
free(blk);