aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kadashev <dkadashev@gmail.com>2021-06-03 12:29:01 +0700
committerJens Axboe <axboe@kernel.dk>2021-06-21 09:58:19 -0600
commit38b51da222500922773b2e4cec8fe03d113d9939 (patch)
tree42703be599c645d5cb8901522fb5139b2de62dec
parent9b425985fb7c5fcda4651dcdf642c29a314b682e (diff)
downloadliburing-38b51da222500922773b2e4cec8fe03d113d9939.tar.gz
io_uring.h: add linkat opcode
Signed-off-by: Dmitry Kadashev <dkadashev@gmail.com> Link: https://lore.kernel.org/r/20210603052906.2616489-7-dkadashev@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--src/include/liburing/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 69aa427..e4a4fc4 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -48,6 +48,7 @@ struct io_uring_sqe {
__u32 splice_flags;
__u32 rename_flags;
__u32 unlink_flags;
+ __u32 hardlink_flags;
};
__u64 user_data; /* data to be passed back at completion time */
union {
@@ -143,6 +144,7 @@ enum {
IORING_OP_UNLINKAT,
IORING_OP_MKDIRAT,
IORING_OP_SYMLINKAT,
+ IORING_OP_LINKAT,
/* this goes last, obviously */
IORING_OP_LAST,