aboutsummaryrefslogtreecommitdiffstats
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 06:59:13 -0600
commit9bd3f728223ebcfef8e9d087bdd142f0e388215d (patch)
treeba3f3ae0c3c4cb8bcf58b589cf4801146f826a2d
parente3366e0234971a09f0e16f0e6fa16f4cbae45e47 (diff)
downloadlinux-9bd3f728223ebcfef8e9d087bdd142f0e388215d.tar.gz
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>
-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 c61494e0a6022..c4dddd0fd7094 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,