diff --git a/utils/src/format.h b/utils/src/format.h index 7a02c26a..58fea85f 100644 --- a/utils/src/format.h +++ b/utils/src/format.h @@ -302,8 +302,8 @@ struct scoutfs_xattr { #define SCOUTFS_BLOCK_MAP_MASK (SCOUTFS_BLOCK_MAP_COUNT - 1) struct scoutfs_block_map { - __le32 crc[SCOUTFS_BLOCK_MAP_COUNT]; __le64 blkno[SCOUTFS_BLOCK_MAP_COUNT]; + __le64 seq[SCOUTFS_BLOCK_MAP_COUNT]; }; /* diff --git a/utils/src/print.c b/utils/src/print.c index 29c18dea..9877be90 100644 --- a/utils/src/print.c +++ b/utils/src/print.c @@ -126,8 +126,9 @@ static void print_block_map(struct scoutfs_block_map *map) printf(" bmap:"); for (i = 0; i < SCOUTFS_BLOCK_MAP_COUNT; i++) - printf(" [%u] %llu", - i, le64_to_cpu(map->blkno[i])); + printf(" [%u] %llu:%llu", + i, le64_to_cpu(map->blkno[i]), + le64_to_cpu(map->seq[i])); printf("\n"); }