diff options
author | Dmitry Kadashev <dkadashev@gmail.com> | 2021-06-03 12:29:04 +0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-21 09:58:19 -0600 |
commit | a36f3e8b8060dbe7fe1bfa8501b9286f7d3b5a64 (patch) | |
tree | b11ffbe7cbb7f9e64b0e82f565d17aa48ca92cf7 | |
parent | d2613de19cf9c536f231811347ae70dd38259d84 (diff) | |
download | liburing-a36f3e8b8060dbe7fe1bfa8501b9286f7d3b5a64.tar.gz |
io_uring.h: add mknodat opcode
Signed-off-by: Dmitry Kadashev <dkadashev@gmail.com>
Link: https://lore.kernel.org/r/20210603052906.2616489-10-dkadashev@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/include/liburing/io_uring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index e4a4fc4..77cd8f1 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -49,6 +49,7 @@ struct io_uring_sqe { __u32 rename_flags; __u32 unlink_flags; __u32 hardlink_flags; + __u32 mknod_dev; }; __u64 user_data; /* data to be passed back at completion time */ union { @@ -145,6 +146,7 @@ enum { IORING_OP_MKDIRAT, IORING_OP_SYMLINKAT, IORING_OP_LINKAT, + IORING_OP_MKNODAT, /* this goes last, obviously */ IORING_OP_LAST, |