From a7d4d9580ab68882f783245fc7dd599ff2308a19 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Fri, 21 Apr 2023 19:21:05 -0400 Subject: [PATCH] rgw/file: advance rgw_file interface version The following commit changed the rgw_file.h external interface, but did not advance the interface version. This commit needs to follow the interface change to all backports (e.g., Reef). commit c67fb7316ef9ad580509814189eaf99ad16d798d Author: yuval Lifshitz Date: Thu Nov 10 15:21:56 2022 +0200 rgw/file: change function signature to match the one generated by cython without this change, clang16 fails to compile, due to conversion from "bool" to "int". see error: https://paste.sh/QybPVNdh#OtffZeqJKcsqUVMupPYD11Kl Fixes: https://tracker.ceph.com/issues/59509 Signed-off-by: Matt Benjamin --- src/include/rados/rgw_file.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/rados/rgw_file.h b/src/include/rados/rgw_file.h index e1ea4559323b..a15427829f22 100644 --- a/src/include/rados/rgw_file.h +++ b/src/include/rados/rgw_file.h @@ -27,7 +27,8 @@ extern "C" { #define LIBRGW_FILE_VER_MAJOR 1 #define LIBRGW_FILE_VER_MINOR 2 -#define LIBRGW_FILE_VER_EXTRA 0 +#define LIBRGW_FILE_VER_EXTRA 1 /* version number needs to advance to + * match change in rgw_raddir2 signature */ #define LIBRGW_FILE_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra) #define LIBRGW_FILE_VERSION_CODE LIBRGW_FILE_VERSION(LIBRGW_FILE_VER_MAJOR, LIBRGW_FILE_VER_MINOR, LIBRGW_FILE_VER_EXTRA) -- 2.47.3