summaryrefslogtreecommitdiff
path: root/io_uring/opdef.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-08-15 13:42:00 +0100
committerJens Axboe <axboe@kernel.dk>2022-08-15 21:34:00 -0600
commit063604265f967e90901996a1b173fe6df582d350 (patch)
treec90f47c2a15d44234a50eebb4f526bc8cdb80d21 /io_uring/opdef.c
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
io_uring/net: use right helpers for async recycle
We have a helper that checks for whether a request contains anything in ->async_data or not, namely req_has_async_data(). It's better to use it as it might have some extra considerations. Fixes: 43e0bbbd0b0e3 ("io_uring: add netmsg cache") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b7414da4e7c3c32c31fc02dfd1355af4ccf4ca5f.1660566179.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.c')
0 files changed, 0 insertions, 0 deletions