zbd: add missing client/server support for option max_open_zones
authorNiklas Cassel <niklas.cassel@wdc.com>
Thu, 27 May 2021 11:12:31 +0000 (11:12 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 May 2021 22:04:56 +0000 (16:04 -0600)
Ensure that we convert the max_open_zones option for client/server.

Use __cpu_to_le32()/__le32_to_cpu() rather than
cpu_to_le32()/le32_to_cpu(), since max_open_zones is defined
as int rather than unsigned int in thread_options.h.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found