1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: smbd: Pure reformatting of unlink_internals() to make it obvious when I add a parameter.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2020-10-05 11:31:16 -07:00 committed by Ralph Boehme
parent e4fd7bc706
commit 4ba1428334
2 changed files with 8 additions and 4 deletions

View File

@ -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);

View File

@ -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;