summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/liburing.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index 65dddf7..5b96e02 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -527,11 +527,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_sync_file_range(struct io_uring_sqe *sqe, int fd,
- unsigned len, off_t offset, int flags)
+static inline void io_uring_prep_sync_file_range(struct io_uring_sqe *sqe,
+ int fd, unsigned len,
+ off_t offset, int flags)
{
io_uring_prep_rw(IORING_OP_SYNC_FILE_RANGE, sqe, fd, NULL, len, offset);
- sqe->sync_range_flags = flags;
+ sqe->sync_range_flags = flags;
}
/*