OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed159c
)
io_uring: consistently make use of io_notif_to_data()
author
Stefan Metzmacher
<metze@samba.org>
Thu, 11 Aug 2022 07:11:14 +0000
(09:11 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 11 Aug 2022 16:56:13 +0000
(10:56 -0600)
This makes the assignment typesafe. It prepares
changing io_kiocb_to_cmd() in the next commit.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Link:
https://lore.kernel.org/r/8da6e9d12cf95ad4bc73274406d12bca7aabf72e.1660201408.git.metze@samba.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/notif.c
patch
|
blob
|
history
diff --git
a/io_uring/notif.c
b/io_uring/notif.c
index
b5f989d
..
48d29de
100644
(file)
--- a/
io_uring/notif.c
+++ b/
io_uring/notif.c
@@
-100,7
+100,7
@@
__cold int io_notif_unregister(struct io_ring_ctx *ctx)
if (!notif)
continue;
- nd = io_
kiocb_to_cmd
(notif);
+ nd = io_
notif_to_data
(notif);
slot->notif = NULL;
if (!refcount_dec_and_test(&nd->uarg.refcnt))
continue;