]> 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)
commit68c57ecbc54702d7610f015254d0aec9d43f9d2d
tree4c445efe3c0f5cb84dc3e961a20c90a7e93804e4
parent816f57b1513ab5d5fe0dd19e0561b77466df66c2
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