On 03/31/2020 06:07 PM, Damien Le Moal wrote: > Move all zoned mode related code from null_blk_main.c to > null_blk_zoned.c, avoiding an ugly #ifdef in the process. > Rename null_zone_init() into null_init_zoned_dev(), null_zone_exit() > into null_free_zoned_dev() and add the new function > null_register_zoned_dev() to finalize the zoned dev setup before > add_disk(). > > Signed-off-by: Damien Le Moal<damien.lemoal@xxxxxxx> > Reviewed-by: Christoph Hellwig<hch@xxxxxx> > Reviewed-by: Johannes Thumshirn<johannes.thumshirn@xxxxxxx> Looks good. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>