1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

smbd: align file_set_dosmode() args one per line

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-04-28 18:06:21 +02:00 committed by Jeremy Allison
parent d9ae1c78b9
commit 224b140583
2 changed files with 10 additions and 4 deletions

View File

@ -950,8 +950,11 @@ NTSTATUS dos_mode_at_recv(struct tevent_req *req, uint32_t *dosmode)
attribute also.
********************************************************************/
int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname,
uint32_t dosmode, const char *parent_dir, bool newfile)
int file_set_dosmode(connection_struct *conn,
struct smb_filename *smb_fname,
uint32_t dosmode,
const char *parent_dir,
bool newfile)
{
int mask=0;
mode_t tmp;

View File

@ -268,8 +268,11 @@ struct tevent_req *dos_mode_at_send(TALLOC_CTX *mem_ctx,
files_struct *dir_fsp,
struct smb_filename *smb_fname);
NTSTATUS dos_mode_at_recv(struct tevent_req *req, uint32_t *dosmode);
int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname,
uint32_t dosmode, const char *parent_dir, bool newfile);
int file_set_dosmode(connection_struct *conn,
struct smb_filename *smb_fname,
uint32_t dosmode,
const char *parent_dir,
bool newfile);
NTSTATUS file_set_sparse(connection_struct *conn,
struct files_struct *fsp,
bool sparse);