aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 6afcecd..e4544df 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -3317,6 +3317,18 @@ bool fuse_req_is_uring(fuse_req_t req)
return req->is_uring;
}
+#ifndef HAVE_URING
+int fuse_req_get_payload(fuse_req_t req, char **payload, size_t *payload_sz,
+ void **mr)
+{
+ (void)req;
+ (void)payload;
+ (void)payload_sz;
+ (void)mr;
+ return -ENOTSUP;
+}
+#endif
+
static struct {
void (*func)(fuse_req_t req, const fuse_ino_t node, const void *arg);
const char *name;