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)
commit041474885e9707a38fad081abe30159eb6d463f9
tree4c445efe3c0f5cb84dc3e961a20c90a7e93804e4
parent7c30f36a98ae488741178d69662e4f2baa53e7f6
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