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 <ylifshit@redhat.com>
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 <mbenjamin@redhat.com>
#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)