summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-10-17 02:24:10 +0300
committerJens Axboe <axboe@kernel.dk>2022-10-17 02:24:10 +0300
commit5c61795ea97c170347c5c4af0c159bd877b8af71 (patch)
tree613864da9f464f555010de4c3411051e6cc81316 /io_uring
parent02bac94bd8efd75f615ac7515dd2def75b43e5b9 (diff)
downloadlinux-5c61795ea97c170347c5c4af0c159bd877b8af71.tar.xz
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: 2ec33a6c3cca ("io_uring/rw: ensure kiocb_end_write() is always called") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/rw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/rw.c b/io_uring/rw.c
index 100de2626e47..bb47cc4da713 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);