vfs: add acl type arg to SMB_VFS_SYS_ACL_SET_FD()
[samba.git] / source3 / modules / vfs_acl_xattr.c
index 2f286ed97f77218d8f14d009c5295992fd6d89d5..7a1f1ba44374bfc31e17cc9e81eb660fdcba093c 100644 (file)
@@ -250,10 +250,12 @@ static int sys_acl_set_file_xattr(vfs_handle_struct *handle,
 
 static int sys_acl_set_fd_xattr(vfs_handle_struct *handle,
                             files_struct *fsp,
+                           SMB_ACL_TYPE_T type,
                             SMB_ACL_T theacl)
 {
        int ret = SMB_VFS_NEXT_SYS_ACL_SET_FD(handle,
                                                fsp,
+                                               type,
                                                theacl);
        if (ret == -1) {
                return -1;