Skip to content

Commit a7d4d95

Browse files
committed
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 c67fb73 Author: yuval Lifshitz <[email protected]> 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 <[email protected]>
1 parent 7dd2397 commit a7d4d95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/rados/rgw_file.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ extern "C" {
2727

2828
#define LIBRGW_FILE_VER_MAJOR 1
2929
#define LIBRGW_FILE_VER_MINOR 2
30-
#define LIBRGW_FILE_VER_EXTRA 0
30+
#define LIBRGW_FILE_VER_EXTRA 1 /* version number needs to advance to
31+
* match change in rgw_raddir2 signature */
3132

3233
#define LIBRGW_FILE_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra)
3334
#define LIBRGW_FILE_VERSION_CODE LIBRGW_FILE_VERSION(LIBRGW_FILE_VER_MAJOR, LIBRGW_FILE_VER_MINOR, LIBRGW_FILE_VER_EXTRA)

0 commit comments

Comments
 (0)