vfs: Remove unused security_info argument in vfz_zfsacl.c
authorAndrew Bartlett <abartlet@samba.org>
Sun, 14 Apr 2013 09:22:37 +0000 (19:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 May 2013 04:18:20 +0000 (06:18 +0200)
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_zfsacl.c

index 743f33b821a9080e095336f8c2acc288bcfe48c3..93a0faa6d5cbbbaa6231396e33f026eaf4df9b6f 100644 (file)
@@ -42,7 +42,6 @@
  */
 static NTSTATUS zfs_get_nt_acl_common(TALLOC_CTX *mem_ctx,
                                      const char *name,
-                                     uint32 security_info,
                                      SMB4ACL_T **ppacl)
 {
        int naces, i;
@@ -203,7 +202,6 @@ static NTSTATUS zfsacl_fget_nt_acl(struct vfs_handle_struct *handle,
 
        status = zfs_get_nt_acl_common(frame,
                                       fsp->fsp_name->base_name,
-                                      security_info,
                                       &pacl);
        if (!NT_STATUS_IS_OK(status)) {
                TALLOC_FREE(frame);
@@ -224,7 +222,7 @@ static NTSTATUS zfsacl_get_nt_acl(struct vfs_handle_struct *handle,
        NTSTATUS status;
        TALLOC_CTX *frame = talloc_stackframe();
 
-       status = zfs_get_nt_acl_common(frame, name, security_info, &pacl);
+       status = zfs_get_nt_acl_common(frame, name, &pacl);
        if (!NT_STATUS_IS_OK(status)) {
                TALLOC_FREE(frame);
                return status;