diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-04-08 08:58:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-08 09:26:28 -0600 |
commit | 0553b8bda8709c47863eab3fff7ac32ad04ca52b (patch) | |
tree | aeb5e95790b5cf86ec77d45e578189f4dfd4fce3 /fs/nfsd/nfsd.h | |
parent | b1e50e549b1372d9742509230dc4af7dd521d984 (diff) | |
download | linux-stable-0553b8bda8709c47863eab3fff7ac32ad04ca52b.tar.gz linux-stable-0553b8bda8709c47863eab3fff7ac32ad04ca52b.tar.bz2 linux-stable-0553b8bda8709c47863eab3fff7ac32ad04ca52b.zip |
io_uring: remove req init from io_get_req()
io_get_req() do two different things: io_kiocb allocation and
initialisation. Move init part out of it and rename into
io_alloc_req(). It's simpler this way and also have better data
locality.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nfsd/nfsd.h')
0 files changed, 0 insertions, 0 deletions