smbd: Move smb_posix_open() to smb1_trans2.c
commit38b15fada27e8bd6555d0902e94e69b603bf2b32
authorVolker Lendecke <vl@samba.org>
Wed, 28 Dec 2022 22:50:53 +0000 (28 23:50 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 4 Jan 2023 08:54:32 +0000 (4 08:54 +0000)
tree70befc746eb49cabdda72e6f2c7e44219957fec2
parent58287995e5b38914c8357d00172a228e97c1f153
smbd: Move smb_posix_open() to smb1_trans2.c

Most of this is direct cut&paste without reformatting.

Don't pass SMB_POSIX_PATH_OPEN through smbd_do_setfilepathinfo(),
directly handle it in call_trans2setpathinfo() where we know we have a
path.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb1_trans2.c
source3/smbd/smb2_trans2.c