1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +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,14 +284,18 @@ 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,
1, /* in_info_type */
(SMB_FILE_ALL_INFORMATION - 1000), /* in_file_info_class */
0xFFFF, /* in_max_output_length */
NULL, /* in_input_buffer */
0, /* in_additional_info */
0, /* in_flags */
state,
state->ev,
cli->conn,
0,
cli->smb2.session,
cli->smb2.tcon,
1, /* in_info_type */
FSCC_FILE_ALL_INFORMATION, /* in_file_info_class */
0xFFFF, /* in_max_output_length */
NULL, /* in_input_buffer */
0, /* in_additional_info */
0, /* in_flags */
state->fid_persistent,
state->fid_volatile);
if (tevent_req_nomem(subreq, req)) {