[PATCH 1/3] fuse2fs: bump library version

Darrick J. Wong
2025-05-22T00:07:41Z

Bump the library version so we can take advantage of new functionality
since libfuse 3.5.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
configure | 4 ++--
configure.ac | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index dfc6bb4a5daa2e..1f7dbe24ee1ab1 100755
--- a/configure
+++ b/configure
@@ -14513,14 +14513,14 @@ fi

if test "$FUSE_LIB" = "-lfuse3"
then
- FUSE_USE_VERSION=35
+ FUSE_USE_VERSION=314
CFLAGS="$CFLAGS $fuse3_CFLAGS"
LDFLAGS="$LDFLAGS $fuse3_LDFLAGS"
for ac_header in pthread.h fuse.h
do :
as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
-#define FUSE_USE_VERSION 35
+#define FUSE_USE_VERSION 314
#ifdef __linux__
#include <linux/fs.h>
#include <linux/falloc.h>
diff --git a/configure.ac b/configure.ac
index 7f28701534a905..c7f193b4ed06bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1413,13 +1413,13 @@ AC_SUBST(FUSE_LIB)
AC_SUBST(FUSE_CMT)
if test "$FUSE_LIB" = "-lfuse3"
then
- FUSE_USE_VERSION=35
+ FUSE_USE_VERSION=314
CFLAGS="$CFLAGS $fuse3_CFLAGS"
LDFLAGS="$LDFLAGS $fuse3_LDFLAGS"
AC_CHECK_HEADERS([pthread.h fuse.h], [],
[AC_MSG_FAILURE([Cannot find fuse3 fuse2fs headers.])],
[#define _FILE_OFFSET_BITS 64
-#define FUSE_USE_VERSION 35
+#define FUSE_USE_VERSION 314
#ifdef __linux__
#include <linux/fs.h>
#include <linux/falloc.h>