projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441b8a7
)
io_uring: Fix comment of io_get_sqe
author
Fam Zheng
<fam.zheng@bytedance.com>
Fri, 4 Jun 2021 16:42:56 +0000
(17:42 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 15 Jun 2021 21:39:16 +0000
(15:39 -0600)
The sqe_ptr argument has been gone since
709b302faddf
(io_uring:
simplify io_get_sqring, 2020-04-08), made the return value of the
function. Update the comment accordingly.
Signed-off-by: Fam Zheng <fam.zheng@bytedance.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link:
https://lore.kernel.org/r/20210604164256.12242-1-fam.zheng@bytedance.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
ab9a16c
..
807a1ab
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-6673,7
+6673,7
@@
static void io_commit_sqring(struct io_ring_ctx *ctx)
}
/*
- * Fetch an sqe, if one is available. Note th
at sqe_ptr will point
to memory
+ * Fetch an sqe, if one is available. Note th
is returns a pointer
to memory
* that is mapped by userspace. This means that care needs to be taken to
* ensure that reads are stable, as we cannot rely on userspace always
* being a good citizen. If members of the sqe are validated and then later