diff options
author | legezywzh <94814730+legezywzh@users.noreply.github.com> | 2024-06-02 05:18:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 23:18:35 +0200 |
commit | 949944ff3bde50d62f98b0cab15cef2959d40a2d (patch) | |
tree | c0d2290d2e5b2da2817ed6a199cb140681baec86 /lib/compat.c | |
parent | 251d2fb0e15316a479cb16476d880d432da62fb6 (diff) | |
download | libfuse-949944ff3bde50d62f98b0cab15cef2959d40a2d.tar.gz |
Fix compatibility issue around fuse_custom_io->clone_fd (#953)
Fixes: 73cd124d0408 ("Add clone_fd to custom IO (#927)")
Signed-off-by: Xiaoguang Wang <lege.wang@jaguarmicro.com>
Diffstat (limited to 'lib/compat.c')
-rw-r--r-- | lib/compat.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/compat.c b/lib/compat.c index 17febac..bab3f88 100644 --- a/lib/compat.c +++ b/lib/compat.c @@ -20,6 +20,8 @@ struct fuse_args; struct fuse_cmdline_opts; struct fuse_cmdline_opts; +struct fuse_session; +struct fuse_custom_io; /** @@ -42,6 +44,17 @@ int fuse_parse_cmdline(struct fuse_args *args, { return fuse_parse_cmdline_30(args, opts); } + +int fuse_session_custom_io_30(struct fuse_session *se, + const struct fuse_custom_io *io, int fd); +int fuse_session_custom_io(struct fuse_session *se, + const struct fuse_custom_io *io, int fd); +int fuse_session_custom_io(struct fuse_session *se, + const struct fuse_custom_io *io, int fd) + +{ + return fuse_session_custom_io_30(se, io, fd); +} #endif |