aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-06-22 18:41:42 -0600
committerJens Axboe <axboe@kernel.dk>2021-06-22 18:41:42 -0600
commit0b14449efd7fe1e6c64bb56c4f5c9d4ab05d1bb4 (patch)
tree7ca03f9c9c781b6327d8df6932b6ae9ba62d3dde
parent839c5d8ec7397f4804e08151d1a5b89cf8b223d2 (diff)
downloadliburing-0b14449efd7fe1e6c64bb56c4f5c9d4ab05d1bb4.tar.gz
Revert "liburing.h: add mknodat prep helper"
This reverts commit e3d522a4a418eb82fe5a4bc3d9df0292f624f878.
-rw-r--r--src/include/liburing.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index c6ef0e8..51dc602 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -570,13 +570,6 @@ static inline void io_uring_prep_linkat(struct io_uring_sqe *sqe, int olddfd,
sqe->hardlink_flags = flags;
}
-static inline void io_uring_prep_mknodat(struct io_uring_sqe *sqe, int dfd,
- const char *pathname, mode_t mode, dev_t dev)
-{
- io_uring_prep_rw(IORING_OP_MKNODAT, sqe, dfd, pathname, mode, 0);
- sqe->mknod_dev = dev;
-}
-
/*
* Returns number of unconsumed (if SQPOLL) or unsubmitted entries exist in
* the SQ ring