]> git.ipfire.org Git - thirdparty/samba.git/commit
libsmb: Slightly restructure map_smb2_handle_to_fnum
authorVolker Lendecke <vl@samba.org>
Fri, 2 Aug 2024 09:04:31 +0000 (11:04 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Aug 2024 16:29:33 +0000 (16:29 +0000)
commitcd0352a9ca2988d7a4525fbcd21fd730e1f37ed7
tree0892719e41aeb379fd4daac072321a88e56a7946
parent51ce5ce7094d4e2190a9eb45a2cfea2e0cffa3c2
libsmb: Slightly restructure map_smb2_handle_to_fnum

Pass the persistent/volatile handle as uint64's. Why? I found the
talloc_memdup() slightly misleading, and smbXcli handles those 2 id's
separately. map_smb2_handle_to_fnum() is the function to create the
smb2_hnd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/cli_smb2_fnum.c