1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

smbd: realign smb_fname member initialisation in smbd_dirptr_get_entry()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme
2020-05-01 17:06:26 +02:00
committed by Jeremy Allison
parent 3073586fd8
commit d66de7d568

View File

@ -869,7 +869,8 @@ bool smbd_dirptr_get_entry(TALLOC_CTX *ctx,
/* Create smb_fname with NULL stream_name. */
smb_fname = (struct smb_filename) {
.base_name = pathreal, .st = sbuf
.base_name = pathreal,
.st = sbuf,
};
ok = mode_fn(ctx, private_data, &smb_fname, get_dosmode, &mode);