mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user