summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-01-03 15:02:23 +0000
committerDavid Sterba <dsterba@suse.com>2025-01-06 13:51:05 +0100
commitdadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1 (patch)
tree6ad6c3fa95bc7667460a2f6a4d7c5dada3d0bc06 /io_uring/uring_cmd.h
parentfca432e73db2bec0fdbfbf6d98d3ebcd5388a977 (diff)
io_uring/cmd: rename struct uring_cache to io_uring_cmd_data
In preparation for making this more generically available for ->uring_cmd() usage that needs stable command data, rename it and move it to io_uring/cmd.h instead. Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'io_uring/uring_cmd.h')
-rw-r--r--io_uring/uring_cmd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/io_uring/uring_cmd.h b/io_uring/uring_cmd.h
index a361f98664d2..515823ca68b8 100644
--- a/io_uring/uring_cmd.h
+++ b/io_uring/uring_cmd.h
@@ -1,9 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-struct uring_cache {
- struct io_uring_sqe sqes[2];
-};
-
int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags);
int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);