diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-04-05 17:50:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 16:10:26 +0200 |
commit | de96e9ae69a134c009a6d9a7ca182fa67067ecac (patch) | |
tree | 54313a2b311bddaea262206a63408e309c65349c /io_uring/Makefile | |
parent | io_uring: kill dead code in io_req_complete_post (diff) | |
download | linux-de96e9ae69a134c009a6d9a7ca182fa67067ecac.tar.xz linux-de96e9ae69a134c009a6d9a7ca182fa67067ecac.zip |
io_uring: turn implicit assumptions into a warning
io_req_complete_post() is now io-wq only and shouldn't be used outside
of it, i.e. it relies that io-wq holds a ref for the request as
explained in a comment below. Let's add a warning to enforce the
assumption and make sure nobody would try to do anything weird.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1013b60c35d431d0698cafbc53c06f5917348c20.1712331455.git.asml.silence@gmail.com
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/Makefile')
0 files changed, 0 insertions, 0 deletions