From eadc4b5b780ffdb99b7d4b48592af6c72f682bf8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 Sep 2010 04:54:29 +0200 Subject: s3: Lift smbd_server_conn from file_find_fd --- source3/modules/vfs_hpuxacl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/modules') 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; -- cgit