summaryrefslogtreecommitdiffstats
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2005-09-03 07:19:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:30 -0500
commitcc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922 (patch)
treeefff4136de29936be91bb414edb8cd7b1a4064e2 /source/smbd/files.c
parentb508a962f51de753509bc398249b178bda237cba (diff)
downloadsamba-cc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922.tar.gz
samba-cc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922.tar.xz
samba-cc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922.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 */);
}
}
}