Skip to content

Commit 9bd3f72

Browse files
metze-sambaaxboe
authored andcommitted
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: b48c312 ("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>
1 parent e3366e0 commit 9bd3f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io_uring/opdef.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ const struct io_op_def io_op_defs[] = {
471471
.prep_async = io_uring_cmd_prep_async,
472472
},
473473
[IORING_OP_SEND_ZC] = {
474-
.name = "SENDZC_NOTIF",
474+
.name = "SEND_ZC",
475475
.needs_file = 1,
476476
.unbound_nonreg_file = 1,
477477
.pollout = 1,

0 commit comments

Comments
 (0)