xfsprogs: fix possible mistakes in the zoned code

Fix some errors Darrick found while bootstrapping his own zbc/zns
devices.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index fd44e7b..c2f4589 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -814,6 +814,7 @@
 		},
 		{ .index = R_ZONED,
 		  .conflicts = { { &ropts, R_EXTSIZE },
+				 { &ropts, R_CONCURRENCY },
 				 { NULL, LAST_CONFLICT } },
 		  .minval = 0,
 		  .maxval = 1,
@@ -1585,7 +1586,7 @@
 	};
 
 	if (!quiet) {
-		printf("Discarding blocks...");
+		printf("Resetting zones...");
 		fflush(stdout);
 	}
 
@@ -2505,10 +2506,15 @@
 }
 
 struct zone_info {
+	/* number of zones, conventional or sequential */
 	unsigned int		nr_zones;
+	/* number of conventional zones */
 	unsigned int		nr_conv_zones;
-	unsigned int		zone_size;
-	unsigned int		zone_capacity;
+
+	/* size of the address space for a zone, in 512b blocks */
+	xfs_daddr_t		zone_size;
+	/* write capacity of a zone, in 512b blocks */
+	xfs_daddr_t		zone_capacity;
 };
 
 struct zone_topology {
@@ -3832,7 +3838,7 @@
 	if (cli->rtsize) {
 		if (cfg->rtblocks > DTOBT(xi->rt.size, cfg->blocklog)) {
 			fprintf(stderr,
-_("size %s specified for rt subvolume is too large, maxi->um is %lld blocks\n"),
+_("size %s specified for rt subvolume is too large, maximum is %lld blocks\n"),
 				cli->rtsize,
 				(long long)DTOBT(xi->rt.size, cfg->blocklog));
 			usage();