summaryrefslogtreecommitdiffstats
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-03 05:17:25 +0000
committerTim Potter <tpot@samba.org>2000-02-03 05:17:25 +0000
commit3aad500c0fb61232ed3431ff4b743b5d18ec852f (patch)
treeb3a354a7bd0dbd45395036d431589bac3e0dbac7 /source/smbd/files.c
parentf872518972e7942e31b5ac5150d7ed8b0fbcf641 (diff)
downloadsamba-3aad500c0fb61232ed3431ff4b743b5d18ec852f.tar.gz
samba-3aad500c0fb61232ed3431ff4b743b5d18ec852f.tar.xz
samba-3aad500c0fb61232ed3431ff4b743b5d18ec852f.zip
Mega-VFS merge. Yeah baby!
Synopsis: change every disk access function to work through a vfs_ops structure contained in the connection_struct.
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 dd1f7037f6f..d62950c568a 100644
--- a/source/smbd/files.c
+++ b/source/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);
}
}
}