From: Volker Lendecke Date: Fri, 30 Dec 2022 21:15:50 +0000 (+0100) Subject: smbd: smbd_do_qfilepathinfo() does not need lock_data anymore X-Git-Tag: talloc-2.4.0~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0dfee968a4f4e2c277eb89b6001d982b1e96cd1;p=thirdparty%2Fsamba.git smbd: smbd_do_qfilepathinfo() does not need lock_data anymore Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index d1c0d145de7..5fb9f2e647c 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -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, diff --git a/source3/smbd/smb1_trans2.c b/source3/smbd/smb1_trans2.c index 0fa8c8fa2a6..54cf9134fb6 100644 --- a/source3/smbd/smb1_trans2.c +++ b/source3/smbd/smb1_trans2.c @@ -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); diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index 64a129c928c..f5156147bc3 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -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, diff --git a/source3/smbd/smb2_trans2.c b/source3/smbd/smb2_trans2.c index ca8026b5a08..ced6dde8bf3 100644 --- a/source3/smbd/smb2_trans2.c +++ b/source3/smbd/smb2_trans2.c @@ -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,