commit | a652958888fb1ada3e4f6b548576c2d2c1b60d66 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Nov 17 00:38:33 2024 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Nov 17 09:01:35 2024 -0700 |
tree | 3da5558219a7e8f0efd794a2ef97023fdbb078a8 | |
parent | d617b3147d54c42351eac63b5398d4ddf4f4011b [diff] |
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>