From 52de1638198b76e9d253dbed2e3327049c96344d Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 4 Oct 2017 12:51:29 +0200 Subject: [PATCH] vfs_acl_common: factor out a variable declaration Just some refactoring, no change in behaviour. Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit e62f90a6d15626a2e20ba92f5cd552101ec4afe0) --- source3/modules/vfs_acl_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index fa65fd19cfd..b887e0ac9b1 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -1056,8 +1056,9 @@ static NTSTATUS set_underlying_acl(vfs_handle_struct *handle, files_struct *fsp, 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; } -- 2.47.2