s3: VFS: acl_common: Remove the dirfsp parameter from validate_nt_acl_blob().
authorJeremy Allison <jra@samba.org>
Tue, 8 Jun 2021 20:02:42 +0000 (13:02 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:31 +0000 (13:14 +0000)
No longer needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_acl_common.c

index 61f45011a928105ecc4ad32198692a100065db01..81e1116b20b02551b9c948411415f118b1052a2c 100644 (file)
@@ -411,7 +411,6 @@ static NTSTATUS add_directory_inheritable_components(vfs_handle_struct *handle,
 static NTSTATUS validate_nt_acl_blob(TALLOC_CTX *mem_ctx,
                                vfs_handle_struct *handle,
                                struct files_struct *fsp,
-                               struct files_struct *dirfsp,
                                const struct smb_filename *smb_fname,
                                const DATA_BLOB *blob,
                                struct security_descriptor **ppsd,
@@ -610,7 +609,6 @@ NTSTATUS fget_nt_acl_common(
                status = validate_nt_acl_blob(mem_ctx,
                                        handle,
                                        fsp,
-                                       NULL,
                                        smb_fname,
                                        &blob,
                                        &psd,