From: Ralph Boehme Date: Fri, 1 May 2020 15:06:26 +0000 (+0200) Subject: smbd: realign smb_fname member initialisation in smbd_dirptr_get_entry() X-Git-Tag: ldb-2.2.0~677 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66de7d5683a2bfb1c1f081b54284b535081b3ef;p=thirdparty%2Fsamba.git smbd: realign smb_fname member initialisation in smbd_dirptr_get_entry() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 8a847a055eb..f9f62e525c1 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -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);