diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-10-18 10:17:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-19 13:29:29 -0600 |
commit | ec99ca6c4747bc7b024b35e0326694fe4f8ad140 (patch) | |
tree | 37d3e393cceb6724bdf10293d9fe022778a8e966 /lib/mpi/mpi-div.c | |
parent | 2e5aa6cb4d159f1785eee50e4bcc7e9ffd4e4690 (diff) |
io_uring: kill ref get/drop in personality init
Don't take an identity on personality/creds init only to drop it a few
lines after. Extract a function which prepares req->work but leaves it
without identity.
Note: it's safe to not check REQ_F_WORK_INITIALIZED there because it's
nobody had a chance to init it before io_init_req().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions