]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/file: advance rgw_file interface version 51176/head
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 21 Apr 2023 23:21:05 +0000 (19:21 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 21 Apr 2023 23:29:23 +0000 (19:29 -0400)
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>
src/include/rados/rgw_file.h

index e1ea4559323b55b02f2668eeebd468ab0820731e..a15427829f22626423de3c5d7406641b78974836 100644 (file)
@@ -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)