summaryrefslogtreecommitdiff
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-02-21 16:02:53 -0700
committerJens Axboe <axboe@kernel.dk>2021-02-23 20:33:26 -0700
commit728f13e730093d0b3a1317d2ada83c2538941f34 (patch)
tree18bc846640ca882ed9655a236dfe82a7924f3603 /fs/io-wq.h
parent1c0aa1fae1acb77c5f9917adb0e4cb4500b9f3a6 (diff)
io-wq: remove nr_process accounting
We're now just using fork like we would from userspace, so there's no need to try and impose extra restrictions or accounting on the user side of things. That's already being done for us. That also means we don't have to pass in the user_struct anymore, that's correctly inherited through ->creds on fork. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r--fs/io-wq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h
index 23f6cbd620f8..86825673be08 100644
--- a/fs/io-wq.h
+++ b/fs/io-wq.h
@@ -94,8 +94,6 @@ typedef struct io_wq_work *(free_work_fn)(struct io_wq_work *);
typedef void (io_wq_work_fn)(struct io_wq_work *);
struct io_wq_data {
- struct user_struct *user;
-
io_wq_work_fn *do_work;
free_work_fn *free_work;
};