]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: run __io_sq_thread() with the initial creds from io_uring_setup()
authorStefan Metzmacher <metze@samba.org>
Sun, 7 Mar 2021 10:54:28 +0000 (11:54 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 7 Mar 2021 21:12:43 +0000 (14:12 -0700)
commit26f7c127309fafab9793894040bc94d79b25e662
tree243b3603a8d870a864373299ec179ae47dc390b1
parentd5fc3da425eece769c2a8716713da5274ce247af
io_uring: run __io_sq_thread() with the initial creds from io_uring_setup()

With IORING_SETUP_ATTACH_WQ we should let __io_sq_thread() use the
initial creds from each ctx.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c