summaryrefslogtreecommitdiff
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r--source3/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index dd1f7037f6..d62950c568 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -335,7 +335,7 @@ void file_sync_all(connection_struct *conn)
for (fsp=Files;fsp;fsp=next) {
next=fsp->next;
if (fsp->open && (conn == fsp->conn) && (fsp->fd_ptr != NULL)) {
- sync_file(conn,fsp);
+ conn->vfs_ops.fsync(fsp->fd_ptr->fd);
}
}
}