projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io_uring/rsrc: fix rogue rsrc node grabbing
[platform/kernel/linux-starfive.git]
/
io_uring
/
notif.c
diff --git
a/io_uring/notif.c
b/io_uring/notif.c
index
c4bb793
..
09dfd08
100644
(file)
--- a/
io_uring/notif.c
+++ b/
io_uring/notif.c
@@
-68,9
+68,8
@@
struct io_kiocb *io_alloc_notif(struct io_ring_ctx *ctx)
struct io_kiocb *notif;
struct io_notif_data *nd;
- if (unlikely(!io_alloc_req
_refill(ctx
)))
+ if (unlikely(!io_alloc_req
(ctx, ¬if
)))
return NULL;
- notif = io_alloc_req(ctx);
notif->opcode = IORING_OP_NOP;
notif->flags = 0;
notif->file = NULL;