From: Jens Axboe Date: Sun, 16 Oct 2022 23:24:10 +0000 (-0600) Subject: io_uring/rw: remove leftover debug statement X-Git-Tag: baikal/aarch64/sdk6.1~2795^2~2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=5c62c95e9189074410cb2503113534aa6e84403f;p=kernel.git io_uring/rw: remove leftover debug statement This debug statement was never meant to go into the upstream release, kill it off before it ends up in a release. It was just part of the testing for the initial version of the patch. Fixes: 6e7f6b53caab ("io_uring/rw: ensure kiocb_end_write() is always called") Signed-off-by: Jens Axboe --- diff --git a/io_uring/rw.c b/io_uring/rw.c index 100de2626e478..bb47cc4da713c 100644 --- a/io_uring/rw.c +++ b/io_uring/rw.c @@ -242,8 +242,6 @@ static void io_req_io_end(struct io_kiocb *req) { struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); - WARN_ON(!in_task()); - if (rw->kiocb.ki_flags & IOCB_WRITE) { kiocb_end_write(req); fsnotify_modify(req->file);