1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

libsmb: Remove map_fnum_to_smb2_handle() from cli_smb2_getatr()

Not used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-08-23 12:59:29 +02:00 committed by Jeremy Allison
parent 767eb33480
commit ffc9072fc0

View File

@ -2099,7 +2099,6 @@ NTSTATUS cli_smb2_getatr(struct cli_state *cli,
{
NTSTATUS status;
uint16_t fnum = 0xffff;
struct smb2_hnd *ph = NULL;
struct timespec write_time_ts;
TALLOC_CTX *frame = talloc_stackframe();
@ -2125,12 +2124,6 @@ NTSTATUS cli_smb2_getatr(struct cli_state *cli,
goto fail;
}
status = map_fnum_to_smb2_handle(cli,
fnum,
&ph);
if (!NT_STATUS_IS_OK(status)) {
goto fail;
}
status = cli_qfileinfo_basic(
cli,
fnum,