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 | cfddbdb62485256a947a30e04c753200451cbe1c (patch) | |
tree | 9f540cb37faa6f52312153d19de8b8dceb424bd1 /source/smbd/files.c | |
parent | 15805164fe77b127372eba1ec51c70758467adee (diff) | |
download | samba-cfddbdb62485256a947a30e04c753200451cbe1c.tar.gz samba-cfddbdb62485256a947a30e04c753200451cbe1c.tar.xz samba-cfddbdb62485256a947a30e04c753200451cbe1c.zip |
Use VFS operations for file I/O.
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r-- | source/smbd/files.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c index 3a41c837669..8aca336bf82 100644 --- a/source/smbd/files.c +++ b/source/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 ****************************************************************************/ |