This is a note to let you know that I've just added the patch titled io_uring/rw: remove leftover debug statement to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: io_uring-rw-remove-leftover-debug-statement.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From e07a8781fe8045af3b8b277aaae735a8f4011b09 Mon Sep 17 00:00:00 2001 From: Jens Axboe <axboe@xxxxxxxxx> Date: Sun, 16 Oct 2022 17:24:10 -0600 Subject: io_uring/rw: remove leftover debug statement From: Jens Axboe <axboe@xxxxxxxxx> commit 5c61795ea97c170347c5c4af0c159bd877b8af71 upstream. 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: 2ec33a6c3cca ("io_uring/rw: ensure kiocb_end_write() is always called") Signed-off-by: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- io_uring/io_uring.c | 2 -- 1 file changed, 2 deletions(-) --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -2708,8 +2708,6 @@ static void io_req_io_end(struct io_kioc { struct io_rw *rw = &req->rw; - WARN_ON(!in_task()); - if (rw->kiocb.ki_flags & IOCB_WRITE) { kiocb_end_write(req); fsnotify_modify(req->file); Patches currently in stable-queue which might be from axboe@xxxxxxxxx are queue-5.10/io_uring-improve-send-recv-error-handling.patch queue-5.10/io_uring-rw-ensure-kiocb_end_write-is-always-called.patch queue-5.10/io_uring-remove-duplicated-calls-to-io_kiocb_ppos.patch queue-5.10/io_uring-add-flag-for-disabling-provided-buffer-recy.patch queue-5.10/io_uring-fix-async-accept-on-o_nonblock-sockets.patch queue-5.10/io_uring-ensure-recv-and-recvmsg-handle-msg_waitall-.patch queue-5.10/io_uring-don-t-gate-task_work-run-on-tif_notify_sign.patch queue-5.10/io_uring-update-kiocb-ki_pos-at-execution-time.patch queue-5.10/io_uring-do-not-recalculate-ppos-unnecessarily.patch queue-5.10/io_uring-support-msg_waitall-for-ioring_op_send-msg.patch queue-5.10/io_uring-rw-remove-leftover-debug-statement.patch queue-5.10/io_uring-check-for-valid-register-opcode-earlier.patch queue-5.10/io_uring-allow-re-poll-if-we-made-progress.patch queue-5.10/io_uring-net-fix-fast_iov-assignment-in-io_setup_async_msg.patch queue-5.10/io_uring-clean-up-a-false-positive-warning-from-gcc-9.3.0.patch queue-5.10/io_uring-fix-cq-waiting-timeout-handling.patch queue-5.10/io_uring-fix-double-poll-leak-on-repolling.patch queue-5.10/io_uring-ensure-that-cached-task-references-are-alwa.patch queue-5.10/io_uring-lock-overflowing-for-iopoll.patch queue-5.10/io_uring-rw-defer-fsnotify-calls-to-task-context.patch queue-5.10/io_uring-io_kiocb_update_pos-should-not-touch-file-for-non-1-offset.patch