diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-03-06 19:22:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-06 20:57:01 +0300 |
commit | 003e8dccdb22712dae388e682182d5f08b32386f (patch) | |
tree | b18f14ad2a6136337253510085e4a27b56c11c84 /fs/io-wq.h | |
parent | 886d0137f104a440d9dfa1d16efc1db06c9a2c02 (diff) | |
download | linux-003e8dccdb22712dae388e682182d5f08b32386f.tar.xz |
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>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r-- | fs/io-wq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h index 5fbf7997149e..1ac2f3248088 100644 --- a/fs/io-wq.h +++ b/fs/io-wq.h @@ -79,8 +79,8 @@ static inline void wq_list_del(struct io_wq_work_list *list, struct io_wq_work { struct io_wq_work_node list; + const struct cred *creds; unsigned flags; - unsigned short personality; }; static inline struct io_wq_work *wq_next_work(struct io_wq_work *work) |