summaryrefslogtreecommitdiff
path: root/io_uring/waitid.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-01-23 07:34:36 -0700
committerJens Axboe <axboe@kernel.dk>2025-01-23 11:32:34 -0700
commitff74954e4e9374f24b95dd46ef0bb1b5fa0a46f2 (patch)
treee58116d2af4d7fccfeb23910c8565218063dbfb7 /io_uring/waitid.c
parentfa3595523d72d13508befd28cf2ca642cafc69f7 (diff)
io_uring/alloc_cache: get rid of _nocache() helper
Just allow passing in NULL for the cache, if the type in question doesn't have a cache associated with it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/waitid.c')
-rw-r--r--io_uring/waitid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/waitid.c b/io_uring/waitid.c
index 6778c0ee76c4..853e97a7b0ec 100644
--- a/io_uring/waitid.c
+++ b/io_uring/waitid.c
@@ -303,7 +303,7 @@ int io_waitid(struct io_kiocb *req, unsigned int issue_flags)
struct io_waitid_async *iwa;
int ret;
- iwa = io_uring_alloc_async_data_nocache(req);
+ iwa = io_uring_alloc_async_data(NULL, req);
if (!iwa)
return -ENOMEM;