Signed-off-by: Dmitry Kadashev <dkadashev@xxxxxxxxx> --- src/include/liburing.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/liburing.h b/src/include/liburing.h index cc32232..f1b16dc 100644 --- a/src/include/liburing.h +++ b/src/include/liburing.h @@ -486,6 +486,12 @@ static inline void io_uring_prep_renameat(struct io_uring_sqe *sqe, int olddfd, sqe->rename_flags = flags; } +static inline void io_uring_prep_mkdirat(struct io_uring_sqe *sqe, int dfd, + const char *path, mode_t mode) +{ + io_uring_prep_rw(IORING_OP_MKDIRAT, sqe, dfd, path, mode, 0); +} + /* * Returns number of unconsumed (if SQPOLL) or unsubmitted entries exist in * the SQ ring -- 2.29.2