diff options
author | Tim Potter <tpot@samba.org> | 1999-04-04 06:25:13 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-04-04 06:25:13 +0000 |
commit | 6d5ef2e92995df1cbf5cd3d7c6a33fe55cedb311 (patch) | |
tree | 9b7d21dfadc24ce3d4f83749c527f2eb41ec8b1f /source3/smbd/files.c | |
parent | afc00dbd6f1c7281893ea55f4cca0bdb483f0c75 (diff) | |
download | samba-6d5ef2e92995df1cbf5cd3d7c6a33fe55cedb311.tar.gz samba-6d5ef2e92995df1cbf5cd3d7c6a33fe55cedb311.tar.xz samba-6d5ef2e92995df1cbf5cd3d7c6a33fe55cedb311.zip |
Use VFS operations for file I/O.
(This used to be commit cfddbdb62485256a947a30e04c753200451cbe1c)
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r-- | source3/smbd/files.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 3a41c837669..8aca336bf82 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -340,13 +340,12 @@ 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); + if (fsp->open && (conn == fsp->conn) && (fsp->fd_ptr != NULL)){ + conn->vfs_ops.sync(conn, fsp); } } } - /**************************************************************************** free up a fd_ptr ****************************************************************************/ |