diff options
author | Jens Axboe <axboe@kernel.dk> | 2025-01-23 07:34:36 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-23 11:32:34 -0700 |
commit | ff74954e4e9374f24b95dd46ef0bb1b5fa0a46f2 (patch) | |
tree | e58116d2af4d7fccfeb23910c8565218063dbfb7 /io_uring/timeout.c | |
parent | fa3595523d72d13508befd28cf2ca642cafc69f7 (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/timeout.c')
-rw-r--r-- | io_uring/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/timeout.c b/io_uring/timeout.c index 2bd7e0a317bb..48fc8cf70784 100644 --- a/io_uring/timeout.c +++ b/io_uring/timeout.c @@ -544,7 +544,7 @@ static int __io_timeout_prep(struct io_kiocb *req, if (WARN_ON_ONCE(req_has_async_data(req))) return -EFAULT; - data = io_uring_alloc_async_data_nocache(req); + data = io_uring_alloc_async_data(NULL, req); if (!data) return -ENOMEM; data->req = req; |