From e57811440ad7b407cdd51dfcf3476072d461bcb7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 Sep 2010 04:13:22 +0200 Subject: s3: Remove smbd_server_conn from file_sync_all --- source3/smbd/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */); -- cgit