Just some refactoring, no change in behaviour.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
uint32_t security_info_sent,
bool chown_needed)
{
- NTSTATUS status =
- SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
+ NTSTATUS status;
+
+ status = SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) {
return status;
}