summaryrefslogtreecommitdiff
path: root/include/linux/iocontext.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-12-09 07:31:21 +0100
committerJens Axboe <axboe@kernel.dk>2021-12-16 10:59:01 -0700
commit8a2ba1785c5803d59a63b6320ff54fd4a37a41ce (patch)
treeb7ffd1b051050a0ca683c4f965589cbc8e43e509 /include/linux/iocontext.h
parentd62cbcf62f2f4bf933d18113bcda45e18cc890f6 (diff)
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>
Diffstat (limited to 'include/linux/iocontext.h')
-rw-r--r--include/linux/iocontext.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h
index c1229fbd6691..82c7f4f5f4f5 100644
--- a/include/linux/iocontext.h
+++ b/include/linux/iocontext.h
@@ -99,7 +99,6 @@ struct io_cq {
struct io_context {
atomic_long_t refcount;
atomic_t active_ref;
- atomic_t nr_tasks;
/* all the fields below are protected by this lock */
spinlock_t lock;