Close async write with proper SMBPROFILE_BYTES_ASYNC_END_X macro to
properly update both global and per-share counter. Use smbprofile
pervsc helper macros when possible.
Signed-off-by: Shachar Sharon <ssharon@redhat.com> Reviewed-by: Vinit Agnihotri <vagnihot@redhat.com> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Thu Jul 9 07:01:43 UTC 2026 on atb-devel-224