Skip to content

Commit

Permalink
io_uring/rw: remove leftover debug statement
Browse files Browse the repository at this point in the history
commit 5c61795 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: 2ec33a6 ("io_uring/rw: ensure kiocb_end_write() is always called")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jens Axboe authored and Greg Kroah-Hartman committed Jan 24, 2023
1 parent 3d5f181 commit e699cce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions io_uring/io_uring.c
Original file line number Diff line number Diff line change
Expand Up @@ -2708,8 +2708,6 @@ static void io_req_io_end(struct io_kiocb *req)
{
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);
Expand Down

0 comments on commit e699cce

Please sign in to comment.