Damien Le Moal cd92cdb9c8 null_blk: cleanup zoned mode initialization
To avoid potential compilation problems, replaced the badly written
MB_TO_SECTS() macro (missing parenthesis around the argument use) with
the inline function mb_to_sects(). And while at it, simplify the
calculation of the total number of zones of the device using the
round_up() macro.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-01-29 07:49:22 -07:00
..
2020-10-02 17:54:45 -06:00
2020-12-16 12:57:51 -08:00
2020-12-16 12:57:51 -08:00
2021-01-03 14:54:43 -07:00
2020-12-16 13:09:32 -08:00
2020-11-16 08:34:14 -07:00
2020-09-10 09:32:31 -06:00
2020-11-16 08:14:30 -07:00
2018-11-09 08:14:14 -07:00
2020-12-19 12:56:23 -08:00