summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_hpuxacl.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-27 04:54:29 +0200
committerVolker Lendecke <vl@samba.org>2010-09-28 07:36:18 +0200
commiteadc4b5b780ffdb99b7d4b48592af6c72f682bf8 (patch)
tree029d06b11a6a18eb40679546ea96781e9f50d03d /source3/modules/vfs_hpuxacl.c
parent54f7b702125d08f7754881ffbb4ad624c2a1634b (diff)
downloadsamba-eadc4b5b780ffdb99b7d4b48592af6c72f682bf8.tar.gz
samba-eadc4b5b780ffdb99b7d4b48592af6c72f682bf8.tar.bz2
samba-eadc4b5b780ffdb99b7d4b48592af6c72f682bf8.zip
s3: Lift smbd_server_conn from file_find_fd
Diffstat (limited to 'source3/modules/vfs_hpuxacl.c')
-rw-r--r--source3/modules/vfs_hpuxacl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c
index 5a54f79da3..62a35b1680 100644
--- a/source3/modules/vfs_hpuxacl.c
+++ b/source3/modules/vfs_hpuxacl.c
@@ -189,7 +189,8 @@ SMB_ACL_T hpuxacl_sys_acl_get_fd(vfs_handle_struct *handle,
*/
/* For all I see, the info should already be in the fsp
* parameter, but get it again to be safe --- necessary? */
- files_struct *file_struct_p = file_find_fd(fsp->fh->fd);
+ files_struct *file_struct_p = file_find_fd(fsp->conn->sconn,
+ fsp->fh->fd);
if (file_struct_p == NULL) {
errno = EBADF;
return NULL;
@@ -328,7 +329,8 @@ int hpuxacl_sys_acl_set_fd(vfs_handle_struct *handle,
*/
/* For all I see, the info should already be in the fsp
* parameter, but get it again to be safe --- necessary? */
- files_struct *file_struct_p = file_find_fd(fsp->fh->fd);
+ files_struct *file_struct_p = file_find_fd(fsp->conn->sconn,
+ fsp->fh->fd);
if (file_struct_p == NULL) {
errno = EBADF;
return -1;