s3: vfs: Use the new smb_vfs_fsync_sync() call in place of SMB_VFS_FSYNC().
[samba.git] / source3 / smbd / fileio.c
index ec6333e..7b17889 100644 (file)
@@ -1057,7 +1057,7 @@ NTSTATUS sync_file(connection_struct *conn, files_struct *fsp, bool write_throug
                if (ret == -1) {
                        return map_nt_error_from_unix(errno);
                }
-               ret = SMB_VFS_FSYNC(fsp);
+               ret = smb_vfs_fsync_sync(fsp);
                if (ret == -1) {
                        return map_nt_error_from_unix(errno);
                }