commit | ec99ca6c4747bc7b024b35e0326694fe4f8ad140 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Oct 18 10:17:38 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 19 13:29:29 2020 -0600 |
tree | 37d3e393cceb6724bdf10293d9fe022778a8e966 | |
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>