From: Pavel Begunkov Date: Thu, 1 Apr 2021 14:44:05 +0000 (+0100) Subject: io_uring: kill outdated comment about splice punt X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=53a3126756d6edfe4fd5fa9037cd949df94dfe55;p=linux.git io_uring: kill outdated comment about splice punt The splice/tee comment in io_prep_async_work() isn't relevant since the section was moved, delete it. Signed-off-by: Pavel Begunkov Link: https://lore.kernel.org/r/892a549c89c3d422b679677b8e68ffd3fcb736b6.1617287883.git.asml.silence@gmail.com Signed-off-by: Jens Axboe --- diff --git a/fs/io_uring.c b/fs/io_uring.c index 4e5f93052a6b8..ceb5ddd368261 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1227,10 +1227,6 @@ static void io_prep_async_work(struct io_kiocb *req) switch (req->opcode) { case IORING_OP_SPLICE: case IORING_OP_TEE: - /* - * Splice operation will be punted aync, and here need to - * modify io_wq_work.flags, so initialize io_wq_work firstly. - */ if (!S_ISREG(file_inode(req->splice.file_in)->i_mode)) req->work.flags |= IO_WQ_WORK_UNBOUND; break;