summaryrefslogtreecommitdiffstats
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-27 04:12:15 +0200
committerVolker Lendecke <vl@samba.org>2010-09-28 07:36:17 +0200
commite2222fc19c6595deed22d8f55daf62692fd786e0 (patch)
tree63fb39d8020d5be703250383fb46ea3b10729768 /source3/smbd/files.c
parent75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40 (diff)
downloadsamba-e2222fc19c6595deed22d8f55daf62692fd786e0.tar.gz
samba-e2222fc19c6595deed22d8f55daf62692fd786e0.tar.xz
samba-e2222fc19c6595deed22d8f55daf62692fd786e0.zip
s3: Remove smbd_server_conn from file_find_subpath
Diffstat (limited to 'source3/smbd/files.c')
-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 98afd77bcc9..b1e89bab888 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -370,7 +370,7 @@ bool file_find_subpath(files_struct *dir_fsp)
dlen = strlen(d_fullname);
- for (fsp=smbd_server_conn->files;fsp;fsp=fsp->next) {
+ for (fsp=dir_fsp->conn->sconn->files; fsp; fsp=fsp->next) {
char *d1_fullname;
if (fsp == dir_fsp) {