diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-10-16 17:24:10 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-24 07:22:49 +0100 |
commit | 4b6f8263e931d00617c63bd1e90fcf26ce70a1bb (patch) | |
tree | 8575be860318cdb095e101683eed3a0d4999df6f | |
parent | b10acfcd61b25ad5b97c155aad9c45d5ecbb9f39 (diff) |
io_uring/rw: remove leftover debug statement
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@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index d9d9f6599a89..cae78f37d709 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -2711,8 +2711,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); |