vfs: Fix compilation of solaris ACL module
authorAndrew Bartlett <abartlet@samba.org>
Sat, 5 Jan 2013 03:53:13 +0000 (14:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 10 Jan 2013 07:46:22 +0000 (18:46 +1100)
Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/modules/vfs_solarisacl.c

index dd5fe82cfa906abb45695efa01747f731f8910fe..9b3c4f60a56858dba0fcf0481020a7786ffde75b 100644 (file)
@@ -300,7 +300,7 @@ int solarisacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
        DEBUG(10, ("entering solarisacl_sys_acl_delete_def_file.\n"));
        
        smb_acl = solarisacl_sys_acl_get_file(handle, path, 
-                                             SMB_ACL_TYPE_ACCESS);
+                                             SMB_ACL_TYPE_ACCESS, talloc_tos());
        if (smb_acl == NULL) {
                DEBUG(10, ("getting file acl failed!\n"));
                goto done;