summaryrefslogtreecommitdiff
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-05-10 01:31:46 +0000
committerHerb Lewis <herb@samba.org>2000-05-10 01:31:46 +0000
commitf9a52cadbf11f7afcef754a59d783964a2edb5bc (patch)
tree061e5eb1a2b62f09764423bc8fdff4396b178c37 /source/smbd/files.c
parentf2a5ba3f0939f59097f0ef6a25f1cf9b5574f157 (diff)
downloadsamba-f9a52cadbf11f7afcef754a59d783964a2edb5bc.tar.gz
Fix for misunderstanding of fsync added when vfs layer
was done. Samba was doing fsync's (bleagh). Jeremy.
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r--source/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c
index 5b930f99400..a4837a1a8bc 100644
--- a/source/smbd/files.c
+++ b/source/smbd/files.c
@@ -283,7 +283,7 @@ void file_sync_all(connection_struct *conn)
for (fsp=Files;fsp;fsp=next) {
next=fsp->next;
if ((conn == fsp->conn) && (fsp->fd != -1)) {
- conn->vfs_ops.fsync(fsp->fd);
+ sync_file(conn,fsp);
}
}
}