mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-27 12:06:50 -04:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user