mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
19768f80cf
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.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
main.c | ||
Makefile | ||
null_blk.h | ||
trace.c | ||
trace.h | ||
zoned.c |