]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move read/write file prep state into actual opcode handler
authorJens Axboe <axboe@kernel.dk>
Tue, 29 Mar 2022 16:48:05 +0000 (10:48 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Apr 2022 22:50:20 +0000 (16:50 -0600)
commit2b76ab77d446bd3143fdf578e3f083048d96d004
treeebc5515e2c6ba0f27afe84293d1199147e311501
parente8884d3198db141f302a2465bb779d645cb06840
io_uring: move read/write file prep state into actual opcode handler

In preparation for not necessarily having a file assigned at prep time,
defer any initialization associated with the file to when the opcode
handler is run.

Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c