From: Ralph Boehme Date: Thu, 28 Jul 2022 14:04:38 +0000 (+0200) Subject: vfs_zfsacl: fix mixed declaration and code error X-Git-Tag: talloc-2.4.0~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=043ce404caeb043b2d00e6842731e7c580d748fd;p=thirdparty%2Fsamba.git vfs_zfsacl: fix mixed declaration and code error Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index 1b625be824f..d69d7003110 100644 --- a/source3/modules/vfs_zfsacl.c +++ b/source3/modules/vfs_zfsacl.c @@ -326,6 +326,7 @@ static NTSTATUS zfsacl_fget_nt_acl(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct security_descriptor **ppdesc) { + TALLOC_CTX *frame = NULL; struct SMB4ACL_T *pacl; NTSTATUS status; struct zfsacl_config_data *config = NULL; @@ -336,7 +337,7 @@ static NTSTATUS zfsacl_fget_nt_acl(struct vfs_handle_struct *handle, struct zfsacl_config_data, return NT_STATUS_INTERNAL_ERROR); - TALLOC_CTX *frame = talloc_stackframe(); + frame = talloc_stackframe(); naces = fget_zfsacl(talloc_tos(), fsp, &acebuf); if (naces == -1) {