From: Jeremy Allison Date: Fri, 1 May 2020 17:15:14 +0000 (-0700) Subject: s3: smbd: Reformat users of smbd_calculate_maximum_allowed_access(). X-Git-Tag: ldb-2.2.0~761 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=976a60304a7b06d442f47b895bf1d7b5dee6d452;p=thirdparty%2Fsamba.git s3: smbd: Reformat users of smbd_calculate_maximum_allowed_access(). Make new parameter addition clearer. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index c842bb3fff4..e24a8614c83 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3130,8 +3130,10 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn, /* Calculate MAXIMUM_ALLOWED_ACCESS if requested. */ if (access_mask & MAXIMUM_ALLOWED_ACCESS) { - status = smbd_calculate_maximum_allowed_access( - conn, smb_fname, use_privs, &access_mask); + status = smbd_calculate_maximum_allowed_access(conn, + smb_fname, + use_privs, + &access_mask); if (!NT_STATUS_IS_OK(status)) { return status;