Skip to content
Commit f74441e6 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: account locked memory before potential error case



The tear down path will always unaccount the memory, so ensure that we
have accounted it before hitting any of them.

Reported-by: default avatarTomáš Chaloupka <chalucha@gmail.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bd740481
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment