From: Matt Benjamin Date: Fri, 21 Apr 2023 23:21:05 +0000 (-0400) Subject: rgw/file: advance rgw_file interface version X-Git-Tag: v19.0.0~1090^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7d4d9580ab68882f783245fc7dd599ff2308a19;p=ceph.git 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 --- 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)