diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-27 04:05:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-28 07:36:17 +0200 |
commit | 75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40 (patch) | |
tree | ff0d9378187829c9caed8ddfbcc58745394ed8d7 /source3/modules | |
parent | b448e42de4070410eddbe2fa0085b9328a301159 (diff) | |
download | samba-75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40.tar.gz samba-75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40.tar.xz samba-75c6e0e5c7c17ab3ea78e09c226e2fb3472d1e40.zip |
s3: Lift smbd_server_conn from file_find_di_first
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_acl_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index e759dc2df3..dbf3a09395 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -806,7 +806,8 @@ static int acl_common_remove_object(vfs_handle_struct *handle, /* Ensure we have this file open with DELETE access. */ id = vfs_file_id_from_sbuf(conn, &local_fname.st); - for (fsp = file_find_di_first(id); fsp; file_find_di_next(fsp)) { + for (fsp = file_find_di_first(conn->sconn, id); fsp; + file_find_di_next(fsp)) { if (fsp->access_mask & DELETE_ACCESS && fsp->delete_on_close) { /* We did open this for delete, |