diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-04-01 15:44:05 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-04 13:37:38 -0600 |
commit | 0d6b6c766966a3cfa8f8c08ce1d71ed0901ef492 (patch) | |
tree | 1f87680480286fa3721c41477ffbe05cd38d68ee | |
parent | ab5c1690f6de26d91341d07f4c0231dc5553adc0 (diff) | |
download | linux-block-for-5.13/io_uring.2.tar.gz |
io_uring: kill outdated comment about splice puntfor-5.13/io_uring.2
The splice/tee comment in io_prep_async_work() isn't relevant since the
section was moved, delete it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/892a549c89c3d422b679677b8e68ffd3fcb736b6.1617287883.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | fs/io_uring.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index 7834e04638893c..f94b32b434292d 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; |