s3: fix missing braces in nfs4_acls.c
authorAbhidnya Joshi <achirmul@in.ibm.com>
Mon, 26 Aug 2013 07:01:49 +0000 (12:31 +0530)
committerJeremy Allison <jra@samba.org>
Wed, 28 Aug 2013 18:25:55 +0000 (20:25 +0200)
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

source3/modules/nfs4_acls.c

index dab1a2abe4cd208035762f8ad9b2304ad3fb6d4e..500cb4772a364e3740f1c4afac73a487ffa48bb9 100644 (file)
@@ -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.