]> 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)
commit5f2cba57c6432fa7e08d46d944f3111b88cffbb5
treeebc5515e2c6ba0f27afe84293d1199147e311501
parent8731e2c63077ad15c631434d80f14cb4de2923f8
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