]> 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)
commit816f57b1513ab5d5fe0dd19e0561b77466df66c2
tree243b3603a8d870a864373299ec179ae47dc390b1
parente27940297f88e9293154ede664888e26dd9ecc06
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