commit | 07db298a1c96bdba2102d60ad51fcecb961177c9 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Apr 20 12:03:32 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Apr 20 12:55:28 2021 -0600 |
tree | c0367db6051b749ce5021ca9b1842aea7b4b5836 | |
parent | 3a0a690235923b838390500fd46edc23bed092e0 [diff] |
io_uring: safer sq_creds putting Put sq_creds as a part of io_ring_ctx_free(), it's easy to miss doing it in io_sq_thread_finish(), especially considering past mistakes related to ring creation failures. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/3becb1866467a1de82a97345a0a90d7fb8ff875e.1618916549.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>