diff options
author | Jens Axboe <axboe@kernel.dk> | 2025-01-03 16:02:23 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-06 13:51:05 +0100 |
commit | dadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1 (patch) | |
tree | 6ad6c3fa95bc7667460a2f6a4d7c5dada3d0bc06 /include | |
parent | btrfs: sysfs: fix direct super block member reads (diff) | |
download | linux-dadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1.tar.xz linux-dadf03cfd4eaa09f1d0e8b2521de1e11d3e3bec1.zip |
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 'include')
-rw-r--r-- | include/linux/io_uring/cmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/io_uring/cmd.h b/include/linux/io_uring/cmd.h index c189d36ad55e..24cff2b9b9d4 100644 --- a/include/linux/io_uring/cmd.h +++ b/include/linux/io_uring/cmd.h @@ -18,6 +18,10 @@ struct io_uring_cmd { u8 pdu[32]; /* available inline for free use */ }; +struct io_uring_cmd_data { + struct io_uring_sqe sqes[2]; +}; + static inline const void *io_uring_sqe_cmd(const struct io_uring_sqe *sqe) { return sqe->cmd; |