From: Jeremy Allison Date: Mon, 5 Oct 2020 18:31:16 +0000 (-0700) Subject: s3: smbd: Pure reformatting of unlink_internals() to make it obvious when I add a... X-Git-Tag: talloc-2.3.2~293 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ba1428334cfaa33c72c68947ed1afb1b985cb9e;p=thirdparty%2Fsamba.git s3: smbd: Pure reformatting of unlink_internals() to make it obvious when I add a parameter. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 66a5bd87902..a67d22a3a5d 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -973,8 +973,10 @@ void reply_open_and_X(struct smb_request *req); void reply_ulogoffX(struct smb_request *req); void reply_mknew(struct smb_request *req); void reply_ctemp(struct smb_request *req); -NTSTATUS unlink_internals(connection_struct *conn, struct smb_request *req, - uint32_t dirtype, struct smb_filename *smb_fname); +NTSTATUS unlink_internals(connection_struct *conn, + struct smb_request *req, + uint32_t dirtype, + struct smb_filename *smb_fname); void reply_unlink(struct smb_request *req); ssize_t fake_sendfile(struct smbXsrv_connection *xconn, files_struct *fsp, off_t startpos, size_t nread); diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c2070012f1f..b4f4a5f4de0 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3268,8 +3268,10 @@ static NTSTATUS do_unlink(connection_struct *conn, code. ****************************************************************************/ -NTSTATUS unlink_internals(connection_struct *conn, struct smb_request *req, - uint32_t dirtype, struct smb_filename *smb_fname) +NTSTATUS unlink_internals(connection_struct *conn, + struct smb_request *req, + uint32_t dirtype, + struct smb_filename *smb_fname) { char *fname_dir = NULL; char *fname_mask = NULL;