summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-27 04:13:22 +0200
committerVolker Lendecke <vl@samba.org>2010-09-28 07:36:17 +0200
commite57811440ad7b407cdd51dfcf3476072d461bcb7 (patch)
treea7a00e7368e50767f0e30777d4b72b48aa655fda /source3/smbd
parente2222fc19c6595deed22d8f55daf62692fd786e0 (diff)
downloadsamba-e57811440ad7b407cdd51dfcf3476072d461bcb7.tar.gz
samba-e57811440ad7b407cdd51dfcf3476072d461bcb7.tar.bz2
samba-e57811440ad7b407cdd51dfcf3476072d461bcb7.zip
s3: Remove smbd_server_conn from file_sync_all
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index b1e89bab88..ef0da8f1e4 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -407,7 +407,7 @@ void file_sync_all(connection_struct *conn)
{
files_struct *fsp, *next;
- for (fsp=smbd_server_conn->files;fsp;fsp=next) {
+ for (fsp=conn->sconn->files; fsp; fsp=next) {
next=fsp->next;
if ((conn == fsp->conn) && (fsp->fh->fd != -1)) {
sync_file(conn, fsp, True /* write through */);