diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-02-05 14:36:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-17 15:34:45 +0300 |
commit | 54e00d9a612ab93f37f612a5ccd7c0c4f8a31cea (patch) | |
tree | 6a9837cdf9c30ccee4e3345b26e9233c9cef3c4a /scripts/generate_rust_analyzer.py | |
parent | e150e70fce425e1cdfc227974893cad9fb90a0d3 (diff) | |
download | linux-54e00d9a612ab93f37f612a5ccd7c0c4f8a31cea.tar.xz |
io_uring/kbuf: introduce io_kbuf_drop_legacy()
io_kbuf_drop() is only used for legacy provided buffers, and so
__io_put_kbuf_list() is never called for REQ_F_BUFFER_RING. Remove the
dead branch out of __io_put_kbuf_list(), rename it into
io_kbuf_drop_legacy() and use it directly instead of io_kbuf_drop().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c8cc73e2272f09a86ecbdad9ebdd8304f8e583c0.1738724373.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions