From: Shweta Sodani Date: Mon, 6 Apr 2026 05:50:55 +0000 (+0530) Subject: vfs_ceph_new: fix END_PROFILE/END_PROFILE_X mismatch in ftruncate X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dc8dd74b607b3dd6921142c869b16e29f5a121c;p=thirdparty%2Fsamba.git vfs_ceph_new: fix END_PROFILE/END_PROFILE_X mismatch in ftruncate END_PROFILE omits the per-service counter; replace with END_PROFILE_X to match the START_PROFILE_X on the strict_allocate path. Signed-off-by: Shweta Sodani Reviewed-by: Anoop C S Reviewed-by: John Mulligan --- diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index d830281952b..8989ba20d2b 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -3855,7 +3855,7 @@ static int vfs_ceph_ftruncate(struct vfs_handle_struct *handle, (intmax_t)len); if (lp_strict_allocate(SNUM(fsp->conn))) { - END_PROFILE(syscall_ftruncate); + END_PROFILE_X(syscall_ftruncate); return strict_allocate_ftruncate(handle, fsp, len); }