]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7da363a8a17cff169f0634490d947f6546ddbb6
treeb18f14ad2a6136337253510085e4a27b56c11c84
parent2296ebd7fa94064d2459cd2d6563af45e550c330
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