From 83deefd65f262ba823905b2f38e8d79d4afbaa05 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 23 Jan 2006 17:11:24 +0000 Subject: [PATCH] revert to version 2.6 --- configure.in | 2 +- include/fuse.h | 4 ++-- include/fuse_common.h | 2 +- include/fuse_lowlevel.h | 4 ++-- kernel/configure.ac | 2 +- lib/Makefile.am | 2 +- lib/fuse_versionscript | 11 ++--------- 7 files changed, 10 insertions(+), 17 deletions(-) diff --git a/configure.in b/configure.in index 4e29570..b0a5ed2 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT(fuse, 2.7.0-pre0) +AC_INIT(fuse, 2.6.0-pre0) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AM_CONFIG_HEADER(include/config.h) diff --git a/include/fuse.h b/include/fuse.h index 3c3a98f..a7182ac 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -547,7 +547,7 @@ void fuse_set_getcontext_func(struct fuse_context *(*func)(void)); # undef FUSE_MINOR_VERSION # undef fuse_main # if FUSE_USE_VERSION == 25 -# define FUSE_MINOR_VERSION 6 +# define FUSE_MINOR_VERSION 5 # define fuse_main(argc, argv, op) \ fuse_main_real_compat25(argc, argv, op, sizeof(*(op))) # define fuse_new fuse_new_compat25 @@ -590,7 +590,7 @@ void fuse_set_getcontext_func(struct fuse_context *(*func)(void)); # define FUSE_DEBUG FUSE_DEBUG_COMPAT1 # endif # endif -#elif FUSE_USE_VERSION < 27 +#elif FUSE_USE_VERSION < 26 # error Compatibility with API version other than 21, 22, 25 and 11 not supported #endif diff --git a/include/fuse_common.h b/include/fuse_common.h index 4304462..191b6f9 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -20,7 +20,7 @@ #define FUSE_MAJOR_VERSION 2 /** Minor version of FUSE library interface */ -#define FUSE_MINOR_VERSION 7 +#define FUSE_MINOR_VERSION 6 #define FUSE_MAKE_VERSION(maj, min) ((maj) * 10 + (min)) #define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION) diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 0c4672f..8338927 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1245,7 +1245,7 @@ void fuse_remove_signal_handlers(struct fuse_session *se); # include "fuse_lowlevel_compat.h" # undef FUSE_MINOR_VERSION # if FUSE_USE_VERSION == 25 -# define FUSE_MINOR_VERSION 6 +# define FUSE_MINOR_VERSION 5 # define fuse_lowlevel_ops fuse_lowlevel_ops_compat25 # define fuse_lowlevel_new fuse_lowlevel_new_compat25 # else @@ -1254,7 +1254,7 @@ void fuse_remove_signal_handlers(struct fuse_session *se); # define fuse_reply_statfs fuse_reply_statfs_compat # define fuse_reply_open fuse_reply_open_compat # endif -#elif FUSE_USE_VERSION < 27 +#elif FUSE_USE_VERSION < 26 # error Compatibility with low level API version other than 24 and 25 not supported #endif diff --git a/kernel/configure.ac b/kernel/configure.ac index cdb2669..50a7a22 100644 --- a/kernel/configure.ac +++ b/kernel/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(fuse-kernel, 2.7.0-pre0) +AC_INIT(fuse-kernel, 2.6.0-pre0) AC_CONFIG_HEADERS([config.h]) AC_PROG_INSTALL diff --git a/lib/Makefile.am b/lib/Makefile.am index 366fcb0..e0fbfb0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -22,7 +22,7 @@ libfuse_la_SOURCES = \ helper.c \ $(mount_source) -libfuse_la_LDFLAGS = -lpthread -version-number 2:7:0 \ +libfuse_la_LDFLAGS = -lpthread -version-number 2:6:0 \ -Wl,--version-script,fuse_versionscript EXTRA_DIST = fuse_versionscript diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript index 421228e..6e0ab13 100644 --- a/lib/fuse_versionscript +++ b/lib/fuse_versionscript @@ -84,11 +84,6 @@ FUSE_2.5 { } FUSE_2.4; FUSE_2.6 { - global: - fuse_opt_insert_arg; -} FUSE_2.5; - -FUSE_2.7 { global: fuse_lowlevel_new; fuse_lowlevel_new_compat25; @@ -96,9 +91,7 @@ FUSE_2.7 { fuse_main_real_compat25; fuse_new; fuse_new_compat25; + fuse_opt_insert_arg; fuse_setup; fuse_setup_compat25; - - local: - *; -} FUSE_2.6; +} FUSE_2.5;