From: Jeremy Allison Date: Thu, 17 Jun 2021 17:57:27 +0000 (-0700) Subject: s3: VFS: Cleanup. Remove SMB_VFS_FSYNC() macro. X-Git-Tag: tevent-0.11.0~240 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c04df97ee52d8fae4b4438a6634d7ed10320a9f3;p=thirdparty%2Fsamba.git s3: VFS: Cleanup. Remove SMB_VFS_FSYNC() macro. This hasn't been used since bc71cd035c816de4ca98002860496bf8f5d50fe3. Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h index c5c7a993ac8..2d2aa206c2e 100644 --- a/source3/include/vfs_macros.h +++ b/source3/include/vfs_macros.h @@ -207,11 +207,6 @@ #define SMB_VFS_NEXT_RENAMEAT(handle, oldfsp, old, newfsp, new) \ smb_vfs_call_renameat((handle)->next, (oldfsp), (old), (newfsp), (new)) -#define SMB_VFS_FSYNC(fsp) \ - smb_vfs_call_fsync((fsp)->conn->vfs_handles, (fsp)) -#define SMB_VFS_NEXT_FSYNC(handle, fsp) \ - smb_vfs_call_fsync((handle)->next, (fsp)) - #define SMB_VFS_FSYNC_SEND(mem_ctx, ev, fsp) \ smb_vfs_call_fsync_send((fsp)->conn->vfs_handles, (mem_ctx), (ev), \ (fsp))