mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
fde4363f58
As part of the filename_convert() process, keep a pathref dirfsp of the containing directory for later use. This avoids having to do another non_widelink_open() on every SMB2_CREATE and ntcreate&x in later patches. Future work will be to go through other filename_convert() calls and make them use filename_convert_dirfsp(). If we manage to convert all of them except the one in filename_convert_dirfsp() itself, we can simplify filename_convert() and unix_convert() significantly. Too large a patch, but I don't know how to split this up into smaller logic pieces. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>