summaryrefslogtreecommitdiffstats
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2005-09-03 07:19:28 +0000
committerJames Peach <jpeach@samba.org>2005-09-03 07:19:28 +0000
commit016d1669f46f4ce785d3e989c6d87eff2b22acad (patch)
treeefff4136de29936be91bb414edb8cd7b1a4064e2 /source/smbd/files.c
parentc575e198862a6b3aad677488c486a1922f98ff07 (diff)
downloadsamba-016d1669f46f4ce785d3e989c6d87eff2b22acad.tar.gz
samba-016d1669f46f4ce785d3e989c6d87eff2b22acad.tar.xz
samba-016d1669f46f4ce785d3e989c6d87eff2b22acad.zip
r9985: Move the all the strict sync logic into file_sync().
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 c90c2b627ca..65986e96127 100644
--- a/source/smbd/files.c
+++ b/source/smbd/files.c
@@ -427,7 +427,7 @@ void file_sync_all(connection_struct *conn)
for (fsp=Files;fsp;fsp=next) {
next=fsp->next;
if ((conn == fsp->conn) && (fsp->fh->fd != -1)) {
- sync_file(conn,fsp);
+ sync_file(conn, fsp, True /* write through */);
}
}
}