]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commit584b0180f0f4d67d7145950fe68c625f06c88b10
treeebc5515e2c6ba0f27afe84293d1199147e311501
parenta3e4bc23d5470b2beb7cc42a86b6a3e75b704c15
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