On Fri, 24 Dec 2021 09:08:31 +0800, Ming Lei wrote: > It isn't correct to set set->nr_maps as 3 if g_poll_queues is > 0 since > we can change it via configfs for null_blk device created there, so only > set it as 3 if active poll_queues is > 0. > > Fixes divide zero exception reported by Shinichiro. > > > [...] Applied, thanks! [1/1] block: null_blk: only set set->nr_maps as 3 if active poll_queues is > 0 commit: 19768f80cf23834e65482f1667ff54192d469fee Best regards, -- Jens Axboe