From: Jeremy Allison Date: Fri, 1 May 2020 01:16:51 +0000 (-0700) Subject: s3: smbd: Reformat users of check_parent_access(). X-Git-Tag: ldb-2.2.0~765 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e6e9e4281af827eff1ea1407caaa22c76ae2a28;p=thirdparty%2Fsamba.git s3: smbd: Reformat users of check_parent_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 b3a8187ebc2..c2a14da4474 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1255,8 +1255,8 @@ static NTSTATUS open_file(files_struct *fsp, } status = check_parent_access(conn, - smb_fname, - SEC_DIR_ADD_FILE); + smb_fname, + SEC_DIR_ADD_FILE); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("open_file: " "check_parent_access on "