projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e043b
)
io_uring: use typesafe pointers in io_uring_task
author
Stefan Metzmacher
<metze@samba.org>
Mon, 15 Mar 2021 11:56:57 +0000
(12:56 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 18 Mar 2021 15:44:35 +0000
(09:44 -0600)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Link:
https://lore.kernel.org/r/ce2a598e66e48347bb04afbaf2acc67c0cc7971a.1615809009.git.metze@samba.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index
52ba8d7
..
6750739
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-460,8
+460,8
@@
struct io_uring_task {
/* submission side */
struct xarray xa;
struct wait_queue_head wait;
-
void
*last;
-
void
*io_wq;
+
const struct io_ring_ctx
*last;
+
struct io_wq
*io_wq;
struct percpu_counter inflight;
atomic_t in_idle;
bool sqpoll;