null_blk: initialize the tag_set timeout in null_init_tag_set
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Feb 2024 09:32:45 +0000 (10:32 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Feb 2024 13:21:27 +0000 (06:21 -0700)
commite32b0855367b65095823b4427aad3da7c6a771a6
tree3c0102acc05ced009ce9e93dff457c0dece4c840
parent8b631f9cf0b84ac59cd4f0c6dcd2d0cb80dd8a49
null_blk: initialize the tag_set timeout in null_init_tag_set

Otherwise it will be reset to the always same value when initializing a
device using the shared tag_set.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Tested-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240220093248.3290292-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c