summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2024-08-16 12:15:23 -0600
committerJens Axboe <axboe@kernel.dk>2024-08-16 12:31:26 -0600
commit1fc2ac428ef7d2ab9e8e19efe7ec3e58aea51bf3 (patch)
treee9ba33bc343363ab05c58e6080f7d25a835a4897 /include
parente4956dc7a84da074fd8dc10f7abd147f15b3ae58 (diff)
io_uring: fix user_data field name in comment
io_uring_cqe's user_data field refers to `sqe->data`, but io_uring_sqe does not have a data field. Fix the comment to say `sqe->user_data`. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://github.com/axboe/liburing/pull/1206 Link: https://lore.kernel.org/r/20240816181526.3642732-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/io_uring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 2aaf7ee256ac..adc2524fd8e3 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -421,7 +421,7 @@ enum io_uring_msg_ring_flags {
* IO completion data structure (Completion Queue Entry)
*/
struct io_uring_cqe {
- __u64 user_data; /* sqe->data submission passed back */
+ __u64 user_data; /* sqe->user_data value passed back */
__s32 res; /* result code for this event */
__u32 flags;