summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-07-13 16:20:11 +0200
committerJeremy Allison <jra@samba.org>2019-09-11 19:59:34 +0000
commit1f4ec34447704dc02f08fc4f53ca988571d4769c (patch)
tree33102d8e784020d84227261d5f28d937b9171dc3 /source3/smbd/vfs.c
parentd836f4a7d6ffbd3719a8be8141b7a186648556dd (diff)
downloadsamba-1f4ec34447704dc02f08fc4f53ca988571d4769c.tar.gz
smbd: rename change_to_user_by_fsp() to change_to_user_and_service_by_fsp()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index ddc7df1405b..20f3d34965f 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -2493,7 +2493,7 @@ static void smb_vfs_call_get_dos_attributes_done(struct tevent_req *subreq)
/*
* Make sure we run as the user again
*/
- ok = change_to_user_by_fsp(state->dir_fsp);
+ ok = change_to_user_and_service_by_fsp(state->dir_fsp);
SMB_ASSERT(ok);
status = state->recv_fn(subreq,
@@ -2770,7 +2770,7 @@ static void smb_vfs_call_getxattrat_done(struct tevent_req *subreq)
/*
* Make sure we run as the user again
*/
- ok = change_to_user_by_fsp(state->dir_fsp);
+ ok = change_to_user_and_service_by_fsp(state->dir_fsp);
SMB_ASSERT(ok);
state->retval = state->recv_fn(subreq,