diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 01:56:56 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 01:56:56 +0100 |
commit | 38f34b1d743caaf9f2d750580b991958d260fead (patch) | |
tree | 429efa57eba3c17ba0cc52ef099e876cbe2161fd | |
parent | 9296e93588c0e795cae770765050247ac1474a74 (diff) | |
download | samba-38f34b1d743caaf9f2d750580b991958d260fead.tar.gz samba-38f34b1d743caaf9f2d750580b991958d260fead.tar.xz samba-38f34b1d743caaf9f2d750580b991958d260fead.zip |
Remove forgotton fd from solarisacl_sys_acl_get_fd().
Michael
-rw-r--r-- | source/modules/vfs_solarisacl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/modules/vfs_solarisacl.c b/source/modules/vfs_solarisacl.c index ce763f07e7b..7bdfe8465b1 100644 --- a/source/modules/vfs_solarisacl.c +++ b/source/modules/vfs_solarisacl.c @@ -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 */ SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle, - files_struct *fsp, - int fd) + files_struct *fsp) { SMB_ACL_T result = NULL; 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")); - if (!solaris_acl_get_fd(fd, &solaris_acl, &count)) { + if (!solaris_acl_get_fd(fsp->fh->fd, &solaris_acl, &count)) { goto done; } /* |