1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3: smbd: Plumb through struct smb_request *req parameter so it can be used by smb_query_posix_acl().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Jeremy Allison 2019-06-18 13:11:51 -07:00
parent c9f55b782d
commit 7c57544b06
3 changed files with 6 additions and 1 deletions

View File

@ -123,6 +123,7 @@ NTSTATUS smbd_do_unlocking(struct smb_request *req,
NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
TALLOC_CTX *mem_ctx,
struct smb_request *req,
uint16_t info_level,
files_struct *fsp,
struct smb_filename *smb_fname,

View File

@ -392,6 +392,7 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
}
status = smbd_do_qfilepathinfo(conn, state,
smbreq,
file_info_level,
fsp,
fsp->fsp_name,

View File

@ -4849,6 +4849,7 @@ static NTSTATUS marshall_stream_info(unsigned int num_streams,
#if defined(HAVE_POSIX_ACLS)
static NTSTATUS smb_query_posix_acl(connection_struct *conn,
struct smb_request *req,
files_struct *fsp,
struct smb_filename *smb_fname,
char *pdata,
@ -5051,6 +5052,7 @@ static void call_trans2qpipeinfo(connection_struct *conn,
NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
TALLOC_CTX *mem_ctx,
struct smb_request *req,
uint16_t info_level,
files_struct *fsp,
struct smb_filename *smb_fname,
@ -5775,6 +5777,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
case SMB_QUERY_POSIX_ACL:
{
status = smb_query_posix_acl(conn,
req,
fsp,
smb_fname,
pdata,
@ -6271,7 +6274,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
return;
}
status = smbd_do_qfilepathinfo(conn, req, info_level,
status = smbd_do_qfilepathinfo(conn, req, req, info_level,
fsp, smb_fname,
delete_pending, write_time_ts,
ea_list,