git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2222fc
)
s3: Remove smbd_server_conn from file_sync_all
author
Volker Lendecke
<vl@samba.org>
Mon, 27 Sep 2010 02:13:22 +0000
(
04:13
+0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 28 Sep 2010 05:36:17 +0000
(07:36 +0200)
source3/smbd/files.c
patch
|
blob
|
history
diff --git
a/source3/smbd/files.c
b/source3/smbd/files.c
index b1e89bab88829e5807f10556382504d0d6b0fd59..ef0da8f1e4bb400cc68a1f1d2e76feefc936f44a 100644
(file)
--- 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 */);