Skip to content

Commit 5c61795

Browse files
committed
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: 2ec33a6 ("io_uring/rw: ensure kiocb_end_write() is always called") Signed-off-by: Jens Axboe <[email protected]>
1 parent 02bac94 commit 5c61795

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

io_uring/rw.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ static void io_req_io_end(struct io_kiocb *req)
242242
{
243243
struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw);
244244

245-
WARN_ON(!in_task());
246-
247245
if (rw->kiocb.ki_flags & IOCB_WRITE) {
248246
kiocb_end_write(req);
249247
fsnotify_modify(req->file);

0 commit comments

Comments
 (0)