diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-02-22 00:02:53 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-24 04:33:26 +0100 |
commit | 728f13e730093d0b3a1317d2ada83c2538941f34 (patch) | |
tree | 18bc846640ca882ed9655a236dfe82a7924f3603 /fs/io-wq.h | |
parent | io_uring: flag new native workers with IORING_FEAT_NATIVE_WORKERS (diff) | |
download | linux-728f13e730093d0b3a1317d2ada83c2538941f34.tar.xz linux-728f13e730093d0b3a1317d2ada83c2538941f34.zip |
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.h | 2 |
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; }; |