null_blk: Print correct max open zones limit in null_init_zoned_dev()
authorDamien Le Moal <dlemoal@kernel.org>
Tue, 28 May 2024 06:28:52 +0000 (15:28 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 28 May 2024 12:54:21 +0000 (06:54 -0600)
commit233e27b4d21c3e44eb863f03e566d3a22e81a7ae
tree9a760d0ea43e503d6ab5cf378a020bd6926be24d
parent30a0e3135f9aa14ba745f767375183b3112d7440
null_blk: Print correct max open zones limit in null_init_zoned_dev()

When changing the maximum number of open zones, print that number
instead of the total number of zones.

Fixes: dc4d137ee3b7 ("null_blk: add support for max open/active zone limit for zoned devices")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20240528062852.437599-1-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/zoned.c