1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Remove forgotton fd from solarisacl_sys_acl_get_fd().

Michael
This commit is contained in:
Michael Adam 2008-01-08 01:56:56 +01:00
parent 9296e93588
commit 38f34b1d74

View File

@ -100,8 +100,7 @@ SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
* get the access ACL of a file referred to by a fd * get the access ACL of a file referred to by a fd
*/ */
SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle, SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp, files_struct *fsp)
int fd)
{ {
SMB_ACL_T result = NULL; SMB_ACL_T result = NULL;
int count; int count;
@ -109,7 +108,7 @@ SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
DEBUG(10, ("entering solarisacl_sys_acl_get_fd.\n")); DEBUG(10, ("entering solarisacl_sys_acl_get_fd.\n"));
if (!solaris_acl_get_fd(fd, &solaris_acl, &count)) { if (!solaris_acl_get_fd(fsp->fh->fd, &solaris_acl, &count)) {
goto done; goto done;
} }
/* /*