1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

clifuse: Use direct FSCC info level

Avoid the magic -1000

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-08-21 21:34:31 +02:00 committed by Jeremy Allison
parent dd801b69c6
commit 939aa0e69e

View File

@ -284,10 +284,14 @@ static void cli_get_unixattr_opened(struct tevent_req *subreq)
}
subreq = smb2cli_query_info_send(
state, state->ev, cli->conn, 0,
cli->smb2.session, cli->smb2.tcon,
state,
state->ev,
cli->conn,
0,
cli->smb2.session,
cli->smb2.tcon,
1, /* in_info_type */
(SMB_FILE_ALL_INFORMATION - 1000), /* in_file_info_class */
FSCC_FILE_ALL_INFORMATION, /* in_file_info_class */
0xFFFF, /* in_max_output_length */
NULL, /* in_input_buffer */
0, /* in_additional_info */