projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3671163
)
io_uring/net: remove extra notif rsrc setup
author
Pavel Begunkov
<asml.silence@gmail.com>
Fri, 4 Nov 2022 10:59:41 +0000
(10:59 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 21 Nov 2022 14:38:31 +0000
(07:38 -0700)
io_send_zc_prep() sets up notification's rsrc_node when needed, don't
unconditionally install it on notif alloc.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link:
https://lore.kernel.org/r/dbe4875ac33e180b9799d8537a5e27935e82aac4.1667557923.git.asml.silence@gmail.com
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 4bfef10161fa01e6e9f8bc68529d48607f15c3a7..59dafc42b8e0ad4ff9a9fcf2b100009645c89603 100644
(file)
--- a/
io_uring/notif.c
+++ b/
io_uring/notif.c
@@
-60,7
+60,6
@@
struct io_kiocb *io_alloc_notif(struct io_ring_ctx *ctx)
notif->task = current;
io_get_task_refs(1);
notif->rsrc_node = NULL;
- io_req_set_rsrc_node(notif, ctx, 0);
nd = io_notif_to_data(notif);
nd->account_pages = 0;