From 25ca1cd1a85ca5bd99acfd2f54067c397d8fcb13 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 Sep 2010 03:42:36 +0200 Subject: s3: Remove smbd_server_conn from file_close_pid --- source3/smbd/files.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/smbd/files.c') diff --git a/source3/smbd/files.c b/source3/smbd/files.c index cf6f57ea2f0..f24d903daa4 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -155,11 +155,12 @@ void file_close_conn(connection_struct *conn) Close all open files for a pid and a vuid. ****************************************************************************/ -void file_close_pid(uint16 smbpid, int vuid) +void file_close_pid(struct smbd_server_connection *sconn, uint16 smbpid, + int vuid) { files_struct *fsp, *next; - for (fsp=smbd_server_conn->files;fsp;fsp=next) { + for (fsp=sconn->files;fsp;fsp=next) { next = fsp->next; if ((fsp->file_pid == smbpid) && (fsp->vuid == vuid)) { close_file(NULL, fsp, SHUTDOWN_CLOSE); -- cgit