]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd68bf124208e23320a281faaabfb41ffb220507
treeb7ffd1b051050a0ca683c4f965589cbc8e43e509
parente1579194c06790305e7f98922e0a0fa6633669f8
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