mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
io_uring/rw: remove leftover debug statement
commit5c61795ea9upstream. 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:2ec33a6c3c("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3d5f181bda
commit
e699cce29a
@@ -2708,8 +2708,6 @@ static void io_req_io_end(struct io_kiocb *req)
|
|||||||
{
|
{
|
||||||
struct io_rw *rw = &req->rw;
|
struct io_rw *rw = &req->rw;
|
||||||
|
|
||||||
WARN_ON(!in_task());
|
|
||||||
|
|
||||||
if (rw->kiocb.ki_flags & IOCB_WRITE) {
|
if (rw->kiocb.ki_flags & IOCB_WRITE) {
|
||||||
kiocb_end_write(req);
|
kiocb_end_write(req);
|
||||||
fsnotify_modify(req->file);
|
fsnotify_modify(req->file);
|
||||||
|
|||||||
Reference in New Issue
Block a user