summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-09-16 23:36:25 +0200
committerJens Axboe <axboe@kernel.dk>2022-09-18 14:59:13 +0200
commit9bd3f728223ebcfef8e9d087bdd142f0e388215d (patch)
treeba3f3ae0c3c4cb8bcf58b589cf4801146f826a2d /io_uring
parentio_uring/net: fix zc fixed buf lifetime (diff)
downloadlinux-9bd3f728223ebcfef8e9d087bdd142f0e388215d.tar.xz
linux-9bd3f728223ebcfef8e9d087bdd142f0e388215d.zip
io_uring/opdef: rename SENDZC_NOTIF to SEND_ZC
It's confusing to see the string SENDZC_NOTIF in ftrace output when using IORING_OP_SEND_ZC. Fixes: b48c312be05e8 ("io_uring/net: simplify zerocopy send user API") Signed-off-by: Stefan Metzmacher <metze@samba.org> Cc: Pavel Begunkov <asml.silence@gmail.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: io-uring@vger.kernel.org Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/8e5cd8616919c92b6c3c7b6ea419fdffd5b97f3c.1663363798.git.metze@samba.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--io_uring/opdef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/opdef.c b/io_uring/opdef.c
index c61494e0a602..c4dddd0fd709 100644
--- a/io_uring/opdef.c
+++ b/io_uring/opdef.c
@@ -471,7 +471,7 @@ const struct io_op_def io_op_defs[] = {
.prep_async = io_uring_cmd_prep_async,
},
[IORING_OP_SEND_ZC] = {
- .name = "SENDZC_NOTIF",
+ .name = "SEND_ZC",
.needs_file = 1,
.unbound_nonreg_file = 1,
.pollout = 1,