summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-27 03:38:14 +0200
committerVolker Lendecke <vl@samba.org>2010-09-28 07:36:15 +0200
commitc5d27995434910075185e6b290ca933a7ea8afa6 (patch)
treefb1a65e5a3af91f4d46dfa7ce6c4f33dedea2b31
parent52766081519ecca9ffd90b11719201537ff0c1ed (diff)
downloadsamba-c5d27995434910075185e6b290ca933a7ea8afa6.tar.gz
samba-c5d27995434910075185e6b290ca933a7ea8afa6.tar.bz2
samba-c5d27995434910075185e6b290ca933a7ea8afa6.zip
s3: Remove smbd_server_conn from file_new and file_free
-rw-r--r--source3/smbd/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index e903ab3f50..4ba1052d05 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -113,7 +113,7 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
TALLOC_FREE(fsp->fh);
}
- DLIST_ADD(smbd_server_conn->files, fsp);
+ DLIST_ADD(conn->sconn->files, fsp);
DEBUG(5,("allocated file structure %d, fnum = %d (%d used)\n",
i, fsp->fnum, files_used));
@@ -417,7 +417,7 @@ void file_sync_all(connection_struct *conn)
void file_free(struct smb_request *req, files_struct *fsp)
{
- DLIST_REMOVE(smbd_server_conn->files, fsp);
+ DLIST_REMOVE(fsp->conn->sconn->files, fsp);
TALLOC_FREE(fsp->fake_file_handle);