From 27046c429e2d5ec8a93cfe23d12d7d4bcde182d8 Mon Sep 17 00:00:00 2001 From: Abhidnya Joshi Date: Mon, 26 Aug 2013 12:31:49 +0530 Subject: [PATCH] s3: fix missing braces in nfs4_acls.c Reviewed-by: Jeremy Allison Reviewed-by: Simo Sorce Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Aug 28 20:25:56 CEST 2013 on sn-devel-104 --- source3/modules/nfs4_acls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index dab1a2a..500cb47 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -987,9 +987,10 @@ NTSTATUS smb_set_nt_acl_nfs4(vfs_handle_struct *handle, files_struct *fsp, (unsigned int)newGID)); if (smbacl4_GetFileOwner(fsp->conn, fsp->fsp_name->base_name, - &sbuf)) + &sbuf)){ TALLOC_FREE(frame); return map_nt_error_from_unix(errno); + } /* If we successfully chowned, we know we must * be able to set the acl, so do it as root. -- 1.7.9.5