io-wq: always track creds for async issue
authorJens Axboe <axboe@kernel.dk>
Sat, 6 Mar 2021 16:22:27 +0000 (09:22 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Mar 2021 17:57:01 +0000 (10:57 -0700)
commit003e8dccdb22712dae388e682182d5f08b32386f
treeb18f14ad2a6136337253510085e4a27b56c11c84
parent886d0137f104a440d9dfa1d16efc1db06c9a2c02
io-wq: always track creds for async issue

If we go async with a request, grab the creds that the task currently has
assigned and make sure that the async side switches to them. This is
handled in the same way that we do for registered personalities.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.h
fs/io_uring.c