]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add io_op_defs 'def' pointer in req init and issue
authorJens Axboe <axboe@kernel.dk>
Mon, 23 May 2022 22:53:15 +0000 (16:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 May 2022 08:50:02 +0000 (02:50 -0600)
commit8829b9a73ade61b0dba5d74d0830199760478285
tree33369aef1aa17dae5282662317ab1fd335bf732a
parent27c444db0e717a43ce281d826b1d50ec53940aa5
io_uring: add io_op_defs 'def' pointer in req init and issue

Define and set it when appropriate, and use it consistently in the
function rather than using io_op_defs[opcode].

Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c