diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-11-17 01:38:33 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-17 17:01:35 +0100 |
commit | a652958888fb1ada3e4f6b548576c2d2c1b60d66 (patch) | |
tree | 3da5558219a7e8f0efd794a2ef97023fdbb078a8 /include | |
parent | io_uring: restore back registered wait arguments (diff) | |
download | linux-a652958888fb1ada3e4f6b548576c2d2c1b60d66.tar.xz linux-a652958888fb1ada3e4f6b548576c2d2c1b60d66.zip |
io_uring/region: fix error codes after failed vmap
io_create_region() jumps after a vmap failure without setting the return
code, it could be 0 or just uninitialised.
Fixes: dfbbfbf191878 ("io_uring: introduce concept of memory regions")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0abac19dbf81c061cffaa9534a2471ed5460ad3e.1731803848.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions