From 5200c120f34c4a28fa9f4cb55b46dbb9d90eb758 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 22 Sep 2025 11:11:46 +0530 Subject: [PATCH] vfs_ceph_new: Use integer value instead of boolean MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ceph_ll_fsync() API[1] accepts the third and final argument as integer and not a boolean value. [1] https://github.com/ceph/ceph/blob/main/src/include/cephfs/libcephfs.h#L2041 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15919 Signed-off-by: Anoop C S Reviewed-by: Guenther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Mon Sep 22 12:24:35 UTC 2025 on atb-devel-224 --- source3/modules/vfs_ceph_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index c2435be9804..c71adcc5678 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -3019,7 +3019,7 @@ static struct tevent_req *vfs_ceph_fsync_send(struct vfs_handle_struct *handle, state->profile_bytes_x); vfs_ceph_aio_start(state); - ret = vfs_ceph_ll_fsync(handle, state->cfh, false); + ret = vfs_ceph_ll_fsync(handle, state->cfh, 0); vfs_ceph_aio_finish(state, ret); if (ret != 0) { /* ceph_fsync returns -errno on error. */ -- 2.47.3