summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-06 09:22:27 -0700
committerJens Axboe <axboe@kernel.dk>2021-03-06 10:57:01 -0700
commit003e8dccdb22712dae388e682182d5f08b32386f (patch)
treeb18f14ad2a6136337253510085e4a27b56c11c84 /fs/io-wq.h
parent886d0137f104a440d9dfa1d16efc1db06c9a2c02 (diff)
downloadlinux-003e8dccdb22712dae388e682182d5f08b32386f.tar.bz2
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.h2
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)