diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-08-05 21:00:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-06 15:39:29 +0200 |
commit | f74441e6311a28f0ee89b9c8e296a33730f812fc (patch) | |
tree | 846cf9599ec0879766b0c5578f4344ca7b8568c3 /fs/Makefile | |
parent | io_uring: set ctx sq/cq entry count earlier (diff) | |
download | linux-f74441e6311a28f0ee89b9c8e296a33730f812fc.tar.xz linux-f74441e6311a28f0ee89b9c8e296a33730f812fc.zip |
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: Tomáš Chaloupka <chalucha@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions