]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: kill io_sq_thread_fork() and return -EOWNERDEAD if the sq_thread is gone
authorStefan Metzmacher <metze@samba.org>
Sun, 7 Mar 2021 10:54:29 +0000 (11:54 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 7 Mar 2021 21:12:43 +0000 (14:12 -0700)
commitca7c3e3805b61ff1d9466b19c8eb7d673bb4a893
tree4c445efe3c0f5cb84dc3e961a20c90a7e93804e4
parent26f7c127309fafab9793894040bc94d79b25e662
io_uring: kill io_sq_thread_fork() and return -EOWNERDEAD if the sq_thread is gone

This brings the behavior back in line with what 5.11 and earlier did,
and this is no longer needed with the improved handling of creds
not needing to do unshare().

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