]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: smbd_do_qfilepathinfo() does not need lock_data anymore
authorVolker Lendecke <vl@samba.org>
Fri, 30 Dec 2022 21:15:50 +0000 (22:15 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 4 Jan 2023 08:54:32 +0000 (08:54 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/globals.h
source3/smbd/smb1_trans2.c
source3/smbd/smb2_getinfo.c
source3/smbd/smb2_trans2.c

index d1c0d145de757060b2189d8caea745591919a348..5fb9f2e647c213c9dd8ecfe7b08b3d3841f5e704 100644 (file)
@@ -126,8 +126,6 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
                               bool delete_pending,
                               struct timespec write_time_ts,
                               struct ea_list *ea_list,
-                              int lock_data_count,
-                              char *lock_data,
                               uint16_t flags2,
                               unsigned int max_data_bytes,
                               size_t *fixed_portion,
index 0fa8c8fa2a63a6c31b62e0de633da5b1fb74e7d9..54cf9134fb6018192234571a7417b54e7d4a2c79 100644 (file)
@@ -2082,7 +2082,6 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
                                       fsp, smb_fname,
                                       delete_pending, write_time_ts,
                                       ea_list,
-                                      0, NULL,
                                       req->flags2, max_data_bytes,
                                       &fixed_portion,
                                       ppdata, &data_size);
index 64a129c928c0747a7f012ca8fd32ad11154b1039..f5156147bc3cf681114b8804111524d7c06f2903 100644 (file)
@@ -422,8 +422,6 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
                                               delete_pending,
                                               write_time_ts,
                                               ea_list,
-                                              0,
-                                              NULL,
                                               STR_UNICODE,
                                               in_output_buffer_length,
                                               &fixed_portion,
index ca8026b5a08395d55d3b9a0f6035147c8230f976..ced6dde8bf3cab011e82b814aa3a8307b0958dab 100644 (file)
@@ -3524,8 +3524,6 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
                               bool delete_pending,
                               struct timespec write_time_ts,
                               struct ea_list *ea_list,
-                              int lock_data_count,
-                              char *lock_data,
                               uint16_t flags2,
                               unsigned int max_data_bytes,
                               size_t *fixed_portion,