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:
parent
9296e93588
commit
38f34b1d74
@ -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;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user