summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorAbhidnya Joshi <achirmul@in.ibm.com>2013-08-26 12:31:49 +0530
committerJeremy Allison <jra@samba.org>2013-08-28 20:25:55 +0200
commit91186fcf9da6fa1180d9d773882a388e78c4c3b9 (patch)
tree0b25f7f1b6b47cf959e08904fd745749e3fc78d7 /source3/modules
parent617c647b8ef562ace589a11a15eb460e6db71f2a (diff)
downloadsamba-91186fcf9da6fa1180d9d773882a388e78c4c3b9.tar.gz
samba-91186fcf9da6fa1180d9d773882a388e78c4c3b9.tar.bz2
samba-91186fcf9da6fa1180d9d773882a388e78c4c3b9.zip
s3: fix missing braces in nfs4_acls.c
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Aug 28 20:25:56 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/nfs4_acls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c
index dab1a2abe4..500cb4772a 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.