vfs_solarisacl: fix build for samba 4.7 and up
authorJorge Schrauwen via samba-technical <samba-technical@lists.samba.org>
Tue, 3 Oct 2017 17:55:28 +0000 (19:55 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 4 Oct 2017 08:06:15 +0000 (10:06 +0200)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13049

Signed-off-by: Jorge Schrauwen <sjorge@blackdot.be>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_solarisacl.c
source3/modules/vfs_solarisacl.h

index 74086bd9fa7e488b7800ea5ec6db7eabcc9c713b..5c011396ed44fb70b326ac7b4e2a471ba63f2bc3 100644 (file)
@@ -306,7 +306,7 @@ int solarisacl_sys_acl_set_fd(vfs_handle_struct *handle,
  * check is considered unnecessary. --- Agreed? XXX
  */
 int solarisacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
-                               struct smb_filename *smb_fname)
+                               const struct smb_filename *smb_fname)
 {
        SMB_ACL_T smb_acl;
        int ret = -1;
index 02bd3711da8d41fd5168687ca27c2110840471e4..ce2206cbe5b7cf91576f89d7a4ccc5571bb0a4cb 100644 (file)
@@ -41,7 +41,7 @@ int solarisacl_sys_acl_set_fd(vfs_handle_struct *handle,
 int solarisacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
                                const struct smb_filename *smb_fname);
 
-NTSTATUS vfs_solarisacl_init(void);
+NTSTATUS vfs_solarisacl_init(TALLOC_CTX *);
 
 #endif