block: remove the nr_task field from struct io_context
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Dec 2021 06:31:21 +0000 (07:31 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 17:59:01 +0000 (10:59 -0700)
commit8a2ba1785c5803d59a63b6320ff54fd4a37a41ce
treeb7ffd1b051050a0ca683c4f965589cbc8e43e509
parentd62cbcf62f2f4bf933d18113bcda45e18cc890f6
block: remove the nr_task field from struct io_context

Nothing ever looks at ->nr_tasks, so remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20211209063131.18537-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c
include/linux/iocontext.h