projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04b0ac
)
io_uring: kill outdated comment about splice punt
author
Pavel Begunkov
<asml.silence@gmail.com>
Thu, 1 Apr 2021 14:44:05 +0000
(15:44 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 12 Apr 2021 01:30:35 +0000
(19:30 -0600)
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>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 4e5f93052a6b8780ab72c3f453154ce3e74556c7..ceb5ddd368261746ec78bc84778a0ab5310f910c 100644
(file)
--- 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;