Remove forgotton fd from solarisacl_sys_acl_get_fd().
authorMichael Adam <obnox@samba.org>
Tue, 8 Jan 2008 00:56:56 +0000 (01:56 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 8 Jan 2008 00:56:56 +0000 (01:56 +0100)
Michael
(This used to be commit 38f34b1d743caaf9f2d750580b991958d260fead)

source3/modules/vfs_solarisacl.c

index ce763f07e7bfc69338ae0c027860f266e67900b5..7bdfe8465b1bbdba5380c6bc68ef17cf49980ef8 100644 (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
  */
 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;
        }
        /*