If the listed directory has SMB_FILENAME_POSIX_PATH set, this change causes the
smb_fname of directory entries to inherit the flag so subsequent operations on
the directory entry can correctly implement POSIX semantics.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
.base_name = pathreal,
.st = sbuf,
.twrp = dirptr->smb_dname->twrp,
+ .flags = dirptr->smb_dname->flags,
};
ok = mode_fn(ctx, private_data, &smb_fname, get_dosmode, &mode);